Ad
  • 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.