my redo of keypress handling in the Game object