1
0
mirror of https://github.com/thib8956/tic-tac-toe-ws.git synced 2024-11-17 01:16:33 +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-08 12:05:02 +02:00
.gitignore Initial commit 2024-09-02 22:35:04 +02:00
client.mts implement hello message with player id 2024-09-08 12:05:02 +02:00
common.mts implement hello message with player id 2024-09-08 12:05:02 +02:00
index.html implement hello message with player id 2024-09-08 12:05:02 +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 Add README.md 2024-09-02 22:38:41 +02:00
serve.py Initial commit 2024-09-02 22:35:04 +02:00
server.mts implement hello message with player id 2024-09-08 12:05:02 +02:00
tsconfig.json Initial commit 2024-09-02 22:35:04 +02:00

Test 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