Ad
  • Custom User Avatar

    My solution had a bug which wasn't caught - For Gimel I was adding the pot to my coins without emptying the pot (bad!). I suggest adding the following test case:

    Test.assertEquals(gamble(['Gimel', 'Shin', 'Gimel'], 10, 20), 30);