relocate game logic