integrating the player and the room