Finished the core game mechanics