Skip to content

Cod3ddy/snakego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Snake Game (Raylib + Go)

A a simple and fun implementation of the traditional Snake game, built using RayLib with Go bindings.

How to Run

  1. Install the required package:
    go get -v -u github.com/gen2brain/raylib-go/raylib
  2. Run the game
    go run main.go

🎮 Controls 🎮

  • 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

TODO / Improvements🌟

  • 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👨🏿‍🚀).

Releases

No releases published

Packages

No packages published

Languages