1
0
mirror of https://github.com/thib8956/tic-tac-toe-ws.git synced 2024-09-28 21:56:38 +00:00
Two players tic-tac-joe implemented with an HTML canvas and websockets https://thib8956.github.io/tic-tac-toe-ws/
Go to file
2024-09-25 17:11:18 +02:00
.gitignore Initial commit 2024-09-02 22:35:04 +02:00
client.mts keep colors and refactor 2024-09-25 15:34:59 +02:00
common.mts integrate animations 2024-09-25 13:40:22 +02:00
index.html integrate grid 2024-09-24 16:41:48 +02:00
package-lock.json Initial commit 2024-09-02 22:35:04 +02:00
package.json Initial commit 2024-09-02 22:35:04 +02:00
README.md update readme with screenshot 2024-09-25 17:11:18 +02:00
screenshot.png update readme with screenshot 2024-09-25 17:11:18 +02:00
serve.py Initial commit 2024-09-02 22:35:04 +02:00
server.mts fix endgame 2024-09-25 15:40:49 +02:00
tsconfig.json Initial commit 2024-09-02 22:35:04 +02:00

Tic tac toe websockets

Two players tic-tac-joe implemented with an HTML canvas and websockets

How to run

// compilation of .mts files in watch mode
$ tsc -w

// serve static files (localhost:8000)
$ python serve.py

// run server
$ node server.mjs

Go to http://localhost:8000