A simple bingo game that I wrote to learn python3.
# Create virtualenv named '.venv'
python3 -m venv .venv
# Activate virtualenv
source .venv/bin/activate
pip3 install -r requirements.txt
./docker-build.bash
./docker-new-game.bash
./docker-develop.bash
pip3 freeze > requirements.txt
termtosvg
./bingo.py
^d
So after 1500 games with just 1 card, it looks like
(.venv) jeffsuess@Jeffs-MacBook-Pro bingo % ./scanLog.bash
Counted 1500 lines.
mode 44
median 42.0
mean 41.52466666666667
var 96.60045852790749
pvar 96.53605822222222
stdev 9.828553226589735
pstdev 9.825276495968051
(.venv) jeffsuess@Jeffs-MacBook-Pro bingo %
pip install termplotlib
- both diagonals
- 4 corners
- row 3
- column N
- rows 1, 2, 4 and 5
- columns B, I, G and O
Should be flat