A customizable bingo board generator built with NiceGUI and Python.
- Generate interactive 5x5 bingo boards
- Customizable phrases from phrases.txt file
- Automatic text sizing to fit all content
- Real-time detection of win patterns
- Support for different views (home and stream)
- Mobile-friendly responsive design
-
Clone the repository
-
Install dependencies with Poetry:
poetry install- Run the application:
python app.pyThe application will be available at http://localhost:8080
You can also run the application using Docker:
docker build -t bingo .
docker run -p 8080:8080 bingoRun tests with pytest:
poetry run pytestOr for full coverage report:
poetry run pytest --cov=src --cov-report=htmlapp.py: Main entry point for the applicationsrc/: Source code directoryconfig/: Configuration and constantscore/: Core game logicui/: User interface componentsutils/: Utility functions
tests/: Unit testsstatic/: Static assets (fonts, etc.)phrases.txt: Customizable bingo phrases
Modify the phrases.txt file to add your own bingo phrases. The application will reload them automatically.