Skip to content

elrasguno/node-tictactoe

Repository files navigation

node-tictactoe
Contained herein is my first experiment with nodejs. My goal is write a game server that is responsible for managing multiple instances of a given game. For now, it's Tic Tac Toe, but it could be "Connect Four" or "Hangman" or Poker. The client code will be structured in such a way that the callback receiving messages from the websocket server will pass the server's response object on to an appropriately named function, or throw an error indicating that such a function needs to be implemented.

How do I use this? Good question.
1. Install node: http://j.mp/hrk6AX
2. run the following command:
   # node ttt-server.js
3. Load ttt-client.html in two different browser windows.
4. Win!

About

nodejs implementation of tic-tac-toe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published