The scenario of the game ending is passing, only refactoring missing