DinRigtigeFar / Bingo-helper

Program to extract numbers from bingo cards in order to keep track of more cards at a time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bingo helper

A program to keep track of multiple bingo cards at a time in order to maximize changes of winning.

The interface is a webapp running on 127.0.0.1:5000. The interface is very simple and straightforward. It is localized in Danish and English.

Installation

git clone https://github.com/DinRigtigeFar/Bingo-helper.git
cd bingo_helper
conda env create --file bingo_env.yml
conda activate bingo_env
python bingo_app.py

Then fire up your browser of choice and point it to the webapp

How it works:

bingo_app.py is a fully functioning webbased bingo card GUI created in flask.
It takes raw text in the format of a bingo card (see cards.txt for the format), parses it and returns a bingo card object.
The page you're then redirected to is pretty self explanatory: Just press the called number!
The program will automatically check if you have it in your card(s) and display which row and card contained the called number. When you are one number away from having bingo, the program will tell you what number and which card it is in. Then you know exactly what to listen for. If you're lucky enough to get bingo then that will of course be displayed too.
When the first line is done simply press the "2" button below the bingo number grid to tell the program that you're now required to have two full lines in order to get bingo (the same goes for 3 lines).
If you accidentally press the wrong number just press the "Undo" button to reinstate that number into your card(s).
When someone, hopefully you, has bingo on 3 lines, press the "Start over" button to begin fresh (all cards have all numbers and line is set to 1).
Happy bingo games!

About

Program to extract numbers from bingo cards in order to keep track of more cards at a time


Languages

Language:Python 66.4%Language:HTML 23.6%Language:CSS 10.0%