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