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/
.gitignore | ||
client.mts | ||
common.mts | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
serve.py | ||
server.mts | ||
tsconfig.json |
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