Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Home / Challenges

Challenges

The following challenges build on of what you learned in the lessons as well as what you build in the exercises.

  • Add apple: Can you create an apple on the screen, along with the snake? (Tip: Read the GAME documentation file for available options)
  • Grow snake: Can you grow the size of snake to one square every time it eats an apple (or every time you move, if you have not implemented the apple yet)
  • End game from eating yourself: Can you end the game when the snakes head touches its tail?
  • Add score: Add 10 points to every apple you consume and display it to the console.
  • Make the game faster when the score increases.

REMEMBER: The library used in the challenges is call GAME.js. The documentation can be found here

Answers

  • [Add apple](Answers/Add Apple.md)
  • [Grow snake](Answers/Grow Snake.md)
  • [End game from eating yourself](Answers/End Game From Eating Yourself.md)
  • [Add score](Answers/Add score.md)
  • [Make the game faster when the score increases](Answers/Make the game faster when the score increases.md)