Completed implementation of game