| version 1.1 | | version 1.2 |
|---|
| | |
| Slots.payoff(payoff) | | Slots.payoff(payoff) |
| id = CFPython.CreateObject(cointype, (x, y)) | | id = CFPython.CreateObject(cointype, (x, y)) |
| CFPython.SetQuantity(id, payoff) | | CFPython.SetQuantity(id, payoff) |
| | | if payoff == 1: |
| message = "you win %d %s!" %(payoff,cointype) | | message = "you win %d %s!" %(payoff,cointype) |
| | | else: |
| | | message = "You win %d %ss!!" %(payoff,cointype) |
| break | | break |
| elif results.count(item) == spinners: | | elif results.count(item) == spinners: |
| #all match - pays out as percent of pot | | #all match - pays out as percent of pot |
| | |
| Slots.payoff(payoff) | | Slots.payoff(payoff) |
| id = CFPython.CreateObject(cointype, (x, y)) | | id = CFPython.CreateObject(cointype, (x, y)) |
| CFPython.SetQuantity(id, payoff) | | CFPython.SetQuantity(id, payoff) |
| message = "you win %d %s!!" %(payoff,cointype) | | if payoff == 1: |
| | | message == "you win %d %s!" %(payoff,cointype) |
| | | else: |
| | | message = "You win %d %ss!!" %(payoff,cointype) |
| break | | break |
| else: | | else: |
| message = "Better luck next time!" | | message = "Better luck next time!" |