Ad
  • Default User Avatar

    Ok,thank you mate.

  • Default User Avatar

    adrian.eyre you're a godsend, I went from the Kata not taking my code to 250/250 passed almost immediately.

  • Custom User Avatar

    The class contructor should not accept arguments. The function play should accept two arguments die1 and die2 which are both integers.

    The tests are setup in the following way

    game = SnakesLadders() // No arguments passed in to the constructor
    test.assert_equals(game.play(1, 1), "Player 1 is on square 38")
    

    This means the only public function visable should be play and should return a string.

    Hope this helps.

  • Custom User Avatar
    • If a player has won the game then any additional plays on that game should return "Game over!"
  • Default User Avatar

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