Skip to content

About

A multi-computer snake game using Redux, Immutable.js, WebSockets and Typescript

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Multiplayer Game of Snakes

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

one person

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.

two people

Prepare Environment

  • nvm install 18.2.0

  • nvm use 18.2.0

Compile all and run from scratch:

$ npm install
$ npx tsc
$ npx webpack-cli
$ npm start  or  npm test

Run program

$ npm start

Free Hosting on render.com

Web Service

Settings
	Build Command	$ yarn
	Start Command	$ npm start

About

A multi-computer snake game using Redux, Immutable.js, WebSockets and Typescript

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages