This is broken! Look for the comments in the code and add in the missing conditionals to make the game work