The core of the game