Bingo, but in the terminal (and maybe the web, too)
Go to file
2024-05-19 15:51:34 +02:00
img add missing image... 2024-05-19 15:45:02 +02:00
.gitignore Initial commit - basic bingo field 2024-05-09 14:28:15 +02:00
AboutCommand.py refactor AboutCommand into own file 2024-05-19 15:22:29 +02:00
bingo.py refactor BingoDisplay to own file 2024-05-19 15:31:43 +02:00
bingo.tcss add highlighting for selected field and focus-awareness for board 2024-05-18 15:31:58 +02:00
BingoBoard.py docstrings, type hints 2024-05-19 15:14:51 +02:00
BingoDisplay.py refactor BingoDisplay to own file 2024-05-19 15:31:43 +02:00
BingoField.py docstrings, type hints 2024-05-19 15:14:51 +02:00
README.md add instructions on how to serve as webpage 2024-05-19 15:51:34 +02:00
requirements.txt Initial commit - basic bingo field 2024-05-09 14:28:15 +02:00
Sidebar.py refactor Sidebar into own file 2024-05-19 15:27:31 +02:00

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