Getting Started
🌐 English · Dansk · Bahasa Melayu
Requirements
Python 3.13 or newer. The project has no runtime dependencies; pytest, ruff and mypy are installed as development dependencies.
Install
Create a virtual environment and install the project in editable mode (Windows PowerShell first, then Linux and macOS):
Run in Reeborg's world
Open the maze in Reeborg's world, choose Python mode, paste the contents of src/reeborg_maze/presentation/reeborg_script.py into the editor and press run.
Run offline
The offline run reads a world file and prints the final world and the result. With --animate the robot moves in the terminal; with --start X Y HEADING you choose the start (heading 0 is east, 1 north, 2 west, 3 south):
Run the tests
Every free cell of the three test worlds is tried with all four headings, for both the tested function and the pasteable script.