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
Thibaud 797a32c00a
Some checks failed
Build and Deploy / build (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
log client address
2024-09-25 22:49:06 +02:00
.github/workflows fix workflow ? 2024-09-25 21:15:26 +02:00
.gitignore rename mts to ts 2024-09-25 20:21:02 +02:00
client.ts log client address 2024-09-25 22:49:06 +02:00
common.ts handle remote websocketserver and handle game reset by client 2024-09-25 22:15:10 +02:00
index.html rename mts to ts 2024-09-25 20:21:02 +02:00
package-lock.json Initial commit 2024-09-02 22:35:04 +02:00
package.json add start command in package.json 2024-09-25 21:22:16 +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.ts log client address 2024-09-25 22:49:06 +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