Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi there. It sounds like there is an issue with your code not the kata. The tests are random so therefore may give you multiple "game over" responses

  • Custom User Avatar

    I don't understand why in the tests, when I press "Attempt", i get this:
    (... sucessfull calls to game.play() ... )
    Should return: Player 1 Wins!
    Should return: Game over!
    Should return: Game over!
    'Player 1 is on square 9' should equal 'Game over!'
    Should return: Game over!
    'Player 2 is on square 10' should equal 'Game over!'
    Should return: Game over!
    'Player 2 is on square 26' should equal 'Game over!'
    Should return: Game over!
    'Player 1 is on square 11' should equal 'Game over!'
    (...)

    Everything is correct but a lot of successive 'game overs' that I don't understand where they come from, because the game ends just one time and then it's ready to go again, right? I'm confused.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution