Most parts of game functionality