working on game class. needs some more fine tuning