JavaScript: Platformer Hacker
NOTE: make sure your session name lines up with everyone else's to get accurate high scores! Need a different session? click here
High Score Challenge
Use the LEFT and RIGHT arrow keys to move, and use the UP arrow key to jump. Your goal is to grab the key and go through the door, all while avoiding the spiders and picking up as many coins as possible!
If you complete all three levels of the game, you will be able to enter your initials and add yourself to the leaderboard!
Hacking the Game
You may have noticed that there are some coins that are unreachable on the third level. You may also think it would be easier if you could jump higher, or run faster, or if the spiders were slower. Luckily, all of those things are possible by hacking the game variables!
More on Variables
In computer science, variables are containers for information that can change. Variables have a name (e.g., SPEED, backgroundColor, age) and a value (e.g., 1200, "orange", 11). Changing the value of a variable will change how the game is played! However, it is important not to change the name of the variable (e.g., JUMP_SPEED should stay the same), or the equals sign (=).