This is a simulation for the binary compound lotteries. The purpose is to program a lottery that subjects can play with in experiments.
It was implemented in Python and the command to run the simulation is:
$ python main.py
A window (a simple interface) will pop up. Subjects can play if they click the button; then information on probabilities and lottery results will show on the screen.