Skip to content

peclarke/bitbingo

Repository files navigation

BitBingo

Welcome to BitBingo, a custom bingo game designed for playing bingo with your best mates at work, home, or anywhere you find yourself considering the crazy things that happen to you.

Bingo Screen

Bingo Game

Tech Stack

BitBingo uses the following things under/around/and over the hood:

  • Python 3.13
  • FastAPI (SSR, Functions)
  • Jinja Templating (HTML/CSS)
  • DuckDB (persistent binary database)
  • System.css (Old apple component styling library)

Sign In Screen

sign in

Features

  • 3x3 or 4x4 bingo games
  • Ability to add custom prompts
  • Invites friends with invite links
  • Points for winning games, and a leaderboard to see the scores
  • A stats screen for bingo game history and player detail lookup
  • Time tracking on bingo games
  • A hidden minigame

Stats Page

stats page

Possible Future Features

  • Public voting on new prompts
    • Someone would submit a prompt and each user would get a single vote for either Yay or Nay. If it's majority Yay the prompt gets auto accepted into the list.
  • Show the winning combination when someone wins bingo
  • Add a favicon
  • Modify the title of the page to include what page you're on. I.e. BitBingo | Stats
  • Some security fixes... I won't spoil what those are
  • Add the password hashing salt to a const and is defined somewhere useful

Admin Page

admin page

Get Started

To run a version of BitBingo locally, you'll need to follow these steps:

  1. Clone the repository to a folder of your choosing
  2. Create a virtual environment and install the requirements
  3. Create static/prompts.json from static/prompts-example.json with your chosen starting prompts. You may also do this in the app one by one
  4. Run the app initially: python main.py
  5. Login with username admin and password admin
  6. You can change your password from the Profile screen

About

A retro Apple style bingo game for having fun with your friends. Built with FastAPI and DuckDB

Topics

Resources

Stars

Watchers

Forks