https://github.com/swamikannan/environments-snake
Snake environment designed in Python
https://github.com/swamikannan/environments-snake
python3 turtle turtle-graphics
Last synced: about 2 months ago
JSON representation
Snake environment designed in Python
- Host: GitHub
- URL: https://github.com/swamikannan/environments-snake
- Owner: SwamiKannan
- Created: 2023-04-12T05:31:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T06:15:47.000Z (over 2 years ago)
- Last Synced: 2025-03-03T16:49:00.904Z (7 months ago)
- Topics: python3, turtle, turtle-graphics
- Language: Python
- Homepage:
- Size: 181 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building the Snake environment in Turtle
![]()
Image credit: https://community.phones.nokia.com/discussion/44549/snake-through-the-ages
I have been trying to build custom environments for RL learning which gives an agent better observations/ states that are not just a bunch of pixels. With this objective, I have created this Snake environment
P.S.:This is just a readymade game to play manually. I intend to update this as a proper Gym environment soon### How to play
Run
```
python main.py
```