/snake

Snake on your terminal!

Primary LanguageC++MIT LicenseMIT

gameplay

Snake

Snake on your terminal!

Note

This is my attempt at speed running this implementation in a couple hours. This uses my previous attempt at pacman as the base to setup the project.

Also checkout a TCP socket based multiplayer of this game here: https://github.com/AravindVasudev/socket-snake

TODOs

  • Die when the snake collides into its own body.
  • Decouple snake's speed from the frame rate.
  • Increase snake speed as the score goes up.
  • Seed the random number generator.
  • Make the pellet blink.
  • Add multiple lives.
  • Clean up the UI.
    • Implement a help window.
    • Implement multiple screens.

Building

$ make
$ ./bin/snake