Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 568 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 568 Bytes

EASnake

How to run the simulation

  1. have the snake_game_simulator.py, foods.txt and heads.txt in the same folder.
  2. Run snake_game_simulator.py
  3. press Up/Down to increase/decrease simulation speed by 5 px/s
  4. hold Shift then press Up/Down to increase/decrease simulation speed by 20 px/s
  5. hold CTRL + Shift then press Up/Down to increase/decrease simulation speed by 100 px/s
  6. Use spacebar to pause and unpause the game.
  7. When the game is paused, use Left or Right keys to iterate over game frames. (You can check the behavior of snake frame by frame)