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
- Host: GitHub
- URL: https://github.com/souravcoder1/tictactoe
- Owner: souravCoder1
- Created: 2020-05-03T14:00:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T14:03:52.000Z (about 6 years ago)
- Last Synced: 2025-08-08T12:37:16.896Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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