-
React and Typescript Frontend
-
NodeJS Backend
-
WebSockets for comm
Demo: http://multiplay-tictactoe.appspot.com/
npm installnpm run dev-appnpm run dev-server- Go to
localhost:3000
npm run build-all- run built server:
npm start
Option 1:
- Copy
dist/,package.json, andpackage-lock.jsonto target VM npm install --productionnpm start
Option 2:
- Clone repo to targer VM
npm installnpm 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)