Implemented a lot of game mechanics