Skip to content

voyager2005/2D-snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2D-snake-game

GitHub issues GitHub code size in bytes GitHub language count

This is a 2D snake game that Me and My Friends have developed during our Christmas Holidays.. Play and have fun!!

License and copyright

This is licensed under MIT License

How the game looks like:

image2 5 image2 5_2 image2 6

Controls for the game:

These are the two controls that are accepted.
you can add more control options by pasting this code on line 129
• 1st method:
       w - up
       a - left
       s - down
       d - right

• 2nd method:
       ↑ arrow key - up
       ↓ arrow key - down
       → arrow key - right
       ← arrow key - left

Things that I want to do next :

  • Display The Co-ordinate of the snake's head and the position of the food
  • Add different shapes and colours of food which are picked randomly
  • Make the game spawn more than 1 food at a time
  • Have certain number of hearts/lives
  • Add power-ups

Releases

No releases published

Packages

No packages published

Languages