Skip to content

A simple Snake game implemented in Go, inspired by the classic Snake game found on Nokia phones.

License

Notifications You must be signed in to change notification settings

OmerMohideen/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A simple Snake game implemented in Go, inspired by the classic Snake game found on Nokia phones.

Dependencies

This project uses the following Go packages:

How to Play

  1. Install SDL2 development libraries on your system. Instructions can be found here.

  2. Download the prebuilt packages from the Releases page.

    • Select the appropriate package for your operating system.
    • Extract the package to your desired location.
  3. Run the executable for your platform.

  4. Use WASD or arrow keys to control the snake.

  5. Press Tab to enable debug mode.

Controls

  • W / Up Arrow: Move the snake up.
  • A / Left Arrow: Move the snake left.
  • S / Down Arrow: Move the snake down.
  • D / Right Arrow: Move the snake right.
  • Tab: Toggle debug mode.

Debug Mode

Enabling debug mode will display additional information on the screen, such as collision boundaries and other useful debugging details.

Contributing

Feel free to contribute to this project by opening issues or submitting pull requests. Bug reports, feature requests, and improvements are welcome!

License

This Snake Game is open-source software licensed under the MIT License. See the LICENSE file for more details.

About

A simple Snake game implemented in Go, inspired by the classic Snake game found on Nokia phones.

Topics

Resources

License

Stars

Watchers

Forks