Dice or Coin
TchTh961 (0)

In this Repl, I created a program / game which lets the user chose between 2 options.

Option 1:

Coin / Heads or Tails. In this mode, a coin is flipped x times (x is inputed by the user) and a ratio between the amount of times the coin landed on heads and the amount of times the coin landed on tails is displayed.

Option 2:

Dice. In this mode, a dice is rolled x times (x is inputed by the user) and a ratio between the amount of times each number the dice landed on is displayed.

Very cool, had lots of fun programming this (took me about an hour).

Program written by

Theodor Tchipev

https:www.repl.it

repl.it/@TchTh961/Dice-Coin

You are viewing a single comment. View All