Compute final game state