Finished the game implementation and fixed all known bugs.