You are on page 1of 2

.betflip / .

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

.bf 5 heads or .bf 3 t

Module: Gambling

h – Heads

t – Tails

sm - Starting money

bet - betting money

ch - change

sm – ch = nt - Net winnings

stf – starting flip choice

Ejemplo de cadena de caracteres:

Hhhthhtthththhhhhhthththhhhhthhhtthhhhththtthtthhththhttttth

Input:

String to analize: str

Betting money: bet

Starting bet: tails or heads choice

Output:
How many times you guessed right: w(ins)

Algorithm:

If choice == t:

You might also like