Snake was a popular game on mobile phones in the days before smartphones. In the game, you’re a snake that grows each time it eats food. The goal is to increase your score by eating food, without eating yourself! Start by playing the game!
WASDkeys on your keyboard.
Once you’ve finished playing, you can start editing the code! In the editor below, look through the existing code and see if you can make the changes listed in the requirements section below. Don’t worry if you break the code! Just click the
reset button to start again.
=== SNAKE ===to something else.
😀by default) to something else.
🍓by default) to something else.
scoreyou get for eating the fruit (
Below is an example of how the program should run:
Need some help? Click here to reveal a video walkthrough for this task!
You must be logged in to post a comment.