Ad
  • Custom User Avatar

    there are some edge cases that i'm not sure should be in the scope of the kata or not, but in any case should be specified:

    • there are only goats initially
    • there are only cars initially
    • host opens all goat doors (so the chosen door is necessarily a winning one)
    • host opens all car doors (the game is lost whatever the choice is)
    • host opens all doors except the chosen one (then there is no choice to be made - this one should clearly be out of specs)
  • Custom User Avatar

    Float equality is still not fixed. You should use an approximate equality. Atm, only 1 specific solution passes.