Finished implementing basic game functionality.