Check if the component is mounted.
Initialize game.