working
-createGame's buttons switch frames well
-current mode determined