Reproduction of the Rainikrone mini-game from Dofus in Javascript.
The goal is to move the pawn to cross all the "objective" (pink) cells. But each type of cell has a particular effect:
- Yellow cells: Becomes red and move one cell further.
- Red cells: Becomes green and changes the cell's color on contact: yellow -> red -> green -> black -> yellow.
- Green cells: Becomes yellow and move to the previous cell.
- Black cells: Becomes red and moves to the last colorless cell crossed.
- Pink cells: Becomes colorless validates an objective.
Deploy using Docker:
docker run -p 3000:80 skkay/rainikrone
Or a Docker Compose:
version: '3'
services:
app:
image: skkay/rainikrone
ports:
- 3000:80
This project requires Node.js and Yarn to be installed.
- Clone the repository:
git clone https://github.com/Skkay/Rainikrone
cd Rainikrone
- Install dependencies:
yarn install
- Start the development server:
yarn run dev
Using Docker:
docker compose build
Or using Yarn:
yarn run build