Challenge 2: Add Challenge to Shooting Monkeys

After completing lessons 1 to 12, you are ready for your second challenge! Modify the code for the Shooting Monkeys game so, if 5 monkeys get by without being clicked on, the game stops and an alert message appears that says "You lose!".

Also, you may notice that as you play the Shooting Monkeys game, occassionally the image of the monkey is selected (becomes highlighted). Add the CSS code to prevent the player from selecting the monkey image.

Check out the Example.

Then create your own version. Here are a few hints:



To get good at programming you should go beyond the minimum challenge requirements. Here are some examples from students who went beyond the call of duty.

Spring 2016

Spring 2015

Once you have completed the challege, reward yourself with some Sliver.io.