Electric-Snakes, https://electric-snakes.onrender.com a slow to start free site, is a multi-computer snake game server, written in Typescript, using Redux and Immutable.js to hold state. Interactions are synchronized via WebSockets between the single coordinating Node.js server and possibly several Javascript browsers. The server is a free Render.com dyno, so it can take a few seconds to wake up. 150 seconds to be exact.
A single player game against seven computer players
A two player game, called "Battle of Troy" started by "Hector" with "Achilles" joining. One person "creates" and names the game. While others can join in.
-
nvm install 18.2.0
-
nvm use 18.2.0
$ npm install
$ npx tsc
$ npx webpack-cli
$ npm start or npm test
$ npm start
Web Service
Settings
Build Command $ yarn
Start Command $ npm start