extract Player struct to game.rs