Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This is an example module that uses the Node.js integration module (nodejs) to implement a real-time, two-player Tic Tac Toe game on a Drupal site.
Live Demo
http://www.ar.ve.nnnxpd7j.vesrv.com/projects/tic/
Requirements
The Node.js integration module must be installed and configured.
Installation
1. Patch the Node.js integration module with the patch for server extensions at: #1116186: Server extensions.
2. Copy this module into your sites/all/modules directory (or equivalent).
3. Edit your nodejs.config.js configuration file for the node server to specify the nodejs_tic.server.js as a server extension, by adding the following code:
'extensions': ['../nodejs_tic/nodejs_tic.logic.js', '../nodejs_tic/nodejs_tic.server.js']
4. (Re)start your node server.
Project information
- Module categories: User Engagement
- Created by arithmetric on , updated