updating almost final game logic