Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 425 Bytes

File metadata and controls

12 lines (10 loc) · 425 Bytes

Java-Snake-Game

Learning Java basics through the simple "Snake" game.

How to play

Run Game via the SnakeGame.java class and use the following keys on your keyboard to control the snake:

  • 'Arrow Up' for moving Snake up;
  • 'Arrow Down' for moving Snake down;
  • 'Arrow Left' for moving Snake left;
  • 'Arrow Right' for moving Snake right;

Rules

If you go outside the screen or collide a tail the game will be over.