A dice game analyser

The problem

Design a dice game, then decide with exact probability and with simulation whether it is fair, what a player should expect to win, and how the result varies over many plays.

Requirements

Technologies

Step by step

  1. Write the rules of the game and list every outcome of one play.
  2. Compute the exact probabilities and the expected profit.
  3. Simulate many plays and compare the average with the exact value.
  4. Find the fair price and report the results in a short table.

Expected result

A report that states the game's exact odds and expected value, backed by a simulation that agrees with it.

How it is evaluated

Ways to improve it