Skip to content

Instantly share code, notes, and snippets.

View imontantes's full-sized avatar

Israel Montantes imontantes

View GitHub Profile
@imontantes
imontantes / SlotMachine
Created October 3, 2012 18:54
Slot Machine in Python
import random
print('''Welcome to the Slot Machine Simulator
You'll start with $50. You'll be asked if you want to play.
Answer with yes/no. you can also use y/n
No case sensitivity in your answer.
For example you can answer with YEs, yEs, Y, nO, N.
To win you must get one of the following combinations:
BAR\tBAR\tBAR\t\tpays\t$250
BELL\tBELL\tBELL/BAR\tpays\t$20
PLUM\tPLUM\tPLUM/BAR\tpays\t$14
### Keybase proof
I hereby claim:
* I am imontantes on github.
* I am imontantes (https://keybase.io/imontantes) on keybase.
* I have a public key ASDfugPXoKJOzLSPyt90fvQIuo7vBBTf9b_qXfufQYmHxwo
To claim this, I am signing this object: