Skip to content

RadhikaBitla/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeGame

This Application works as a traditional Snake_Game we used to play as kids when the keypad phones were popular.

The functions of this project are:

  1. Eat food particle (5 points)
  2. Eat treasure particle (20 points)
  3. Moving left, right, up, down using Key Actions and Event Handlers
  4. Saving the result of the game, by taking user name as input.
  5. Showing highest score present in database.
  6. If current player score is greater than highest score so far, The application congratulates user.
  7. Upon game ending, we can i) press 'R' to replay the game. ii) press 'S' to save the score.
  8. A Feature is added so that, if you go beyond the assigned space for the snake, it comes from opposite side of the panel, such as i) if goes beyond right, comes from left vice versa. ii) if goes beyond up, comes from down vice versa.
  • Snake eating food particle (5 points)

long snake with small ball

  • Snake eating trease particle (20 points)

long snake with treasure ball

  • Snake when goes beyond from left direction

snake dir from left to right

  • Snake when goes beyond from down direction

snake dir from up to down

  • Window Showing highest and present score

SCORE

  • Display of Input Dialog box to store user name and their respective score

Saving name from the dialog

*Congratulating user when he/she creates a new record

highestscore_congratulation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages