HSE miem 2019 python project.
Cd to sources
and run python3 main.py
- Labyrinth density can be edited by changing
LABYRINTH_DENSITY
const inside./sources/server/constants.py
. (Bigger value = maze with more spaces) - Bots behaviour can be updated by editing their constructor parameters inside
./sources/server/game/game.py
(lines 34, 35)
- The game is fully emulated using the "server" module
- The game is visualized using the "client" module
- You can write custom python scripts for each of the bots inside this directory:
./rainbow_hit/sources/server/game/bots_code/bot_scripts_sync/
. The code must be written inside a wrapper class BotActivity, which should contain functionperform
. In file./rainbow_hit/sources/server/game/bots_code/config.py
write names of preferred scripts in variablesp1sc
andp2sc
.