An open API service indexing awesome lists of open source software.

https://github.com/souravcoder1/tictactoe

A real time tic-tac-toe game with node.js
https://github.com/souravcoder1/tictactoe

Last synced: 10 months ago
JSON representation

A real time tic-tac-toe game with node.js

Awesome Lists containing this project

README

          

tictactoe
=========

Web tictactoe game based on node.js and websocket

## Installation

Clone the repository and install dependencies.

```
git clone https://github.com/juchi/tictactoe.git
cd tictactoe
npm install
```

## Runnning

Just run index.js and go to localhost:8080.

```
node index.js
```
Steps
==============
- Build the board
- Setup event listeners
- Wait for opponent to join
- Broadcast the event
- Check for winner