A a simple and fun implementation of the traditional Snake game, built using RayLib with Go bindings.
- Install the required package:
go get -v -u github.com/gen2brain/raylib-go/raylib
- Run the game
go run main.go
-
Up Arrow Key
: Move up -
Left Arrow Key
: Turn left -
Down Arrow Key
: Move down -
Right Arrow Key
: Turn right
🚀Checkout the similar implementation in C Here
- Add a cool interactive UI menu (start menu, pause menu).
- Display the current score.
- Make the game beatable by introducing a final score goal.
- Give the snake laser eyes (for fun👨🏿🚀).