A simple, minimal Snake game built with Ebiten, a 2D game engine for Go.
This project is purely for fun and learning purposes.
- Control the snake using the Arrow Keys.
- Eat the red square (food) to grow.
- Avoid running into yourself or hitting the walls.
- If you collide, the game ends.
- Go 1.20 or higher
- Git
-
Clone the repository:
git clone https://github.com/binoymanoj/snake-game-go.git cd snake-game-go -
Run the Game:
go run main.gogo build -o snake-game
./snake-gameThis project is released under the MIT License. You are free to use, modify, and distribute it.