Implementation of the end of the game.
Merge branch 'master' of https://github.com/fhacktory/BattleGit