a1.md 547 B

CS 349 A1 - X Windows Snake

This is a simple snake app built off of x windows and c++. Control the snake to eat the fruit and grow, and avoid hitting the walls and yourself!

Getting Started

Controls

  • Arrow Keys - turn the snake
  • Spacebar - pause the game
  • q - quit the game
  • r - restart the game

Deployment

Run the snake executable, with optional arguments (both or neither)

  • FPS: Frames Per Second (defaults to 60)
  • Speed: integer between 1 and 10 (defaults to 5)

Authors

  • Tareef Dedhar - Initial work