This change moves the game modes into their own `src/gamemodes.py`, and also allows setting game modes via `gamemodes.py`.