Professional Documents
Culture Documents
bf
Bet to guess will the result be heads or tails. Guessing awards you 1.95x the currency you've bet
(rounded up). Multiplier can be changed by the bot owner.
Usage
Module: Gambling
h – Heads
t – Tails
sm - Starting money
ch - change
sm – ch = nt - Net winnings
Hhhthhtthththhhhhhthththhhhhthhhtthhhhththtthtthhththhttttth
Input:
Output:
How many times you guessed right: w(ins)
Algorithm:
If choice == t: