Skip to content

Simple realtime multiplayer Tic-Tac-Toe game with instant messaging. Powered by nodejs, socket.io and easeljs, jquery, bootstrap.

License

Notifications You must be signed in to change notification settings

qn-ng/TicTacToe-multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer Tic-Tac-Toe

Simple realtime multiplayer Tic-Tac-Toe game with instant messaging.

Demo: CLICK HERE

Features

  • Classic 5-in-a-row game
  • Pairing randomly from the queue (every x seconds)
  • Realtime IM between players in a same game

Setup

Be sure you have nodejs, npm, bower and grunt-cli pre-installed. To install all the project's dependencies, run the following commands:

Server

  1. cd nodejs/tictactoe/
  2. npm install
  3. node tictactoe.js

Client

  1. cd html/tictactoe/
  2. npm install
  3. grunt --url={YOUR_URL}:3000. Ex grunt --url=http://my.domain:3000

If you leave the --url parameter empty or simply run grunt, the default url http://localhost:3000 will be used.

Open html/tictactoe/index.html to start the game.

Technology

  • NodeJS + Socket.IO
  • EaselJS + jQuery
  • Bootstrap

License

See LICENSE

Tweet me @nquocnghia

Flattr this git repo

About

Simple realtime multiplayer Tic-Tac-Toe game with instant messaging. Powered by nodejs, socket.io and easeljs, jquery, bootstrap.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published