Fixed the endGame() crash bug. Yay.
Merge pull request #89 from jocelynlih/paul

Fixed the endGame() crash bug. Yay.