static void Main(string[] args) { var game = new SnakesLadders(); do { System.Console.WriteLine(game.play(2, 2)); } while (System.Console.ReadLine() != "q"); System.Console.ReadKey(); }
public void BasicTest1() { string result = test.play(1, 1); Assert.AreEqual("Player 1 is on square 38", result, "Should return: 'Player 1 is on square 38'"); }
public void Player1On38() { string result = Theory.play(1, 1); Assert.Equal("Player 1 is on square 38", result); }