updated game code a little