Because we could.
App available here: https://mysticrobots.com
Items to figure out
- Identify how we'll store the high scores
- Devise a solver
- Single player, Single Player vs computer, 2-player, 2-player over network, websocket, integrations?
- Identify all the different types of plays aside from single player (which would be the first one)
The largest problem to solve which may enable us to offer varying levels of complexity in the game is the solver. How do you devise a way to get a specific robot into the goal in the smallest number of moves. Alone is one level, and using the other robots is another level of complexity.
This project can be run using Docker with Node.js 16:
docker build -t mysticrobots .
docker run -p 3000:3000 mysticrobotsIf you have Node.js 16 installed:
npm install
npm startexport NODE_OPTIONS=--openssl-legacy-provider
npm install
npm startThis project uses React 16 and react-scripts 3.4.1 which has compatibility issues with newer Node.js versions. Using the Docker approach or Node.js 16 is recommended.