Tic Tac Toe for Node.js

Component ID

1116194

Component name

Tic Tac Toe for Node.js

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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.