You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@ A custom, lightweight implementation of a Slither-like environment designed spec
7
7
This repository provides a sandbox environment where a snake agent must navigate a field, consume food to grow, and avoid colliding with other snakes. It is built to be highly configurable, supporting both rendered play for visualization and "headless" modes for accelerated RL training.
8
8
9
9
## Project structure
10
-
-`src/`: The engine of the game. Contains the core logic (`game.py`) and helper functions (`utils.py`).
10
+
-`src/slithbot`: The engine of the game. Contains the core logic (`game.py`), helper functions (`utils.py`), and entrypoint code (`main.py`).
11
11
-`config/`: YAML files to easily tweak game parameters like world size, snake count, and rendering options.
12
-
-`scripts/`: Entry points to execute the environment.
13
-
-`requirements.txt`: Python dependencies needed to get up and running.
12
+
-`tests/`: Testing code for the various functions in the project.
13
+
-`pyproject.toml`: Configuration file for appropriate installation. Just run `pip install .` to install.
Similarly, you can execute with other configurations. See the base configurations present in `slithbot/config`. Feel free to create your own configurations.
0 commit comments