more work on game engine. added calculate method and hit/stay buttons