Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 427 Bytes

File metadata and controls

5 lines (5 loc) · 427 Bytes

Snake Game Java

The snake is controlled with the keyboard arrows. Initially, the snake has 5 joints + head.

If the apple collides with the head, we increase the number of joints of the snake.

If the game is finished(collision with borders or itself), the "Game Over" message is displayed in the middle of the board.

Snake Game ScreenShot