core of the main game cycle is prepared