I had a lot of fun with this challenge! Built both games. You can switch between the two by clicking the small link on the bottom of the page. I left the score of the basic game on 12 (I like to match it as close as I can to the design) But the bonus game starts at 0. Both can not drop below 0 points and the states are locally preserved.
Happy coding!