working
-configured "isMouseOverButton(i)" in createGame, so that the event
listener won't trigger button press when buttons are not visible