finalized Game logic