/coingame

Probability project simulation (Stats 2022 Spring, Kathy)

Primary LanguagePython

Coin Game

Running

  • python3 -m pip install -r requirements.txt

Rules

  • This is a game played by 2 people, Player 1 and Player 2, with a coin.
  • Player 1 chooses a sequence of three outcomes to a coin flip.
  • Player 2 chooses a (different) sequence of three outcomes to a coin flip.
  • Then, a coin is flipped repeatedly until either Player 1's or Player 2's sequence comes up, in which said player wins.