This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# "Sic bo" is a popular casino game in Macao. | |
# Player bets the result of three dice... | |
def dice | |
rand(6) + 1 | |
end | |
num = [dice, dice, dice] | |
odev = ["EVEN", "ODD"] |