adding mechanics of game