GamesΒΆ
The games directory is where you will store your games.
A game is a simple Python script that defines a game using the PyRat API.
In the default workspace, you will find the two sample games below, that you can use as templates to create your own games.
Each page contains the full source code of the program, which is the best way to see how it works.
Tip
From your workspace, run a game with uv run games/sample_game.py.