core of game