This is the definitive edition. Previous version, written in Python several years before this version.
Dotter is a game in which you are a dot, trying to catch all the other dots. If any of the other dots are alive for more than 10 seconds, you lose.
- Clone the repository
- Install dependencies for React app:
cd web && yarn install
- Start the React app:
cd web && yarn start
If you just want to contribute to the React app, no additional setup is required.
If you want to contribute to the engine (most of the game logic is here):
- Install engine dependencies:
cd engine && yarn install
- Link the directory for usage in other modules (React):
cd engine && yarn link
- Use the linked engine version for the React app:
cd web && yarn link @dottergame/engine
- Run tests:
cd engine && yarn test
(you can also doyarn test:dev
to avoid manually compiling)