Bingo, but in the terminal (and maybe the web, too)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Felix Pankratz ea0139dd2a add instructions on how to serve as webpage 5 months ago
img add missing image... 5 months ago
.gitignore Initial commit - basic bingo field 5 months ago
AboutCommand.py refactor AboutCommand into own file 5 months ago
BingoBoard.py docstrings, type hints 5 months ago
BingoDisplay.py refactor BingoDisplay to own file 5 months ago
BingoField.py docstrings, type hints 5 months ago
README.md add instructions on how to serve as webpage 5 months ago
Sidebar.py refactor Sidebar into own file 5 months ago
bingo.py refactor BingoDisplay to own file 5 months ago
bingo.tcss add highlighting for selected field and focus-awareness for board 5 months ago
requirements.txt Initial commit - basic bingo field 5 months ago

README.md

bingo-cli - Play bingo in your terminal (or browser)

bingo-cli is a TUI to play Bingo, built using Textual.

bingo screenshot

Features

  • Mouse and keyboard controls
  • Reproducible board states (by supplying UNIX timestamps)
  • Playable directly in your terminal, remotely via SSH or web browser

Installation

Install in python3 venv

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# test to see if it works:
python3 bingo.py

Serve as a webpage

chmod +x ttyd
# if not already in venv:
source venv/bin/activate
./ttyd -W ./bingo.py
  • Bingo is now served on http://localhost:7681.
  • Check ttyd --help for more options and consider building a reverse proxy and systemd service.

Serve via SSH

TBA