mirror of
https://github.com/thib8956/tic-tac-toe-ws.git
synced 2025-02-22 16:58:14 +00:00
22 lines
316 B
Markdown
22 lines
316 B
Markdown
# 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
|
|
|