-
React and Typescript Frontend
-
NodeJS Backend
-
WebSockets for comm
Demo: http://multiplay-tictactoe.appspot.com/
npm install
npm run dev-app
npm run dev-server
- Go to
localhost:3000
npm run build-all
- run built server:
npm start
Option 1:
- Copy
dist/
,package.json
, andpackage-lock.json
to target VM npm install --production
npm start
Option 2:
- Clone repo to targer VM
npm install
npm start
Tic-tac-toe inspired by the intro to React tutorial: https://reactjs.org/tutorial/tutorial.html
- Handle 'other player left' in Game screen
- User aliases and session scoring
- User accounts and persistent scoring
- Game handling in an Elixir app
- Separate, more robust memory storage for game states (e.g. Redis)