Vaibhav Satishkumar
My project creates bingo cards for multiple players, and the bingo events are predictions for the actual game.
Core trick
Ties bingo squares to live game events and disqualifies players who mark events before they occur.
Tags
Description
My project creates bingo cards for multiple players, and the bingo events are predictions for the actual game. Users play bingo while watching the football game live and then they win prizes when they score bingos, but if they cheat the system and check events that didn't happen yet, they're disqualified.
Visual-Studio-Coder/gemini-superhack★ 00 forksPythonMITCreated Jan 31, 2026 · last push Jul 30, 2026
README excerpt
# Gemini Hackathon - Multiplayer Game
A real-time multiplayer game with Next.js frontend and Flask backend.
## 🏗️ Project Structure
```
Gemini-Hackathon/
├── superhack/ # Next.js frontend
│ ├── app/ # App router pages
│ ├── components/ # shadcn/ui components
│ └── package.json
└── backend/ # Flask API
├── app.py # Main API server
├── requirements.txt
└── README.md
```
## 🚀 Quick Start
### Prerequisites
- Node.js 18+
- Python 3.8+
- PostgreSQL 12+
### 1. Setup Database
```bash
# Create database
createdb game_db
# Or using psql
psql postgres
CREATE DATABASE game_db;
\q
```
Create tables:
```sql
psql game_db
-- Create room table
CREATE TABLE room (
id SERIAL PRIMARY KEY,
join_code TEXT UNIQUE NOT NULL,
status TEXT NOT NULL DEFAULT 'waiting',
events_json JSON DEFAULT '[]'
);
-- Create player table
CREATE TABLE player (
id SERIAL PRIMARY KEY,
room_id INTEGER REFERENCES room(id) ON DELETE CASCADE,
current_board JSON DEFAULT '{}',
points INTEGER DEFAULT 0
);
-- Create indexes
CREATE INDEX idx_room_join_code ON room(join_code);
CREATE INDEX idx_player_room_id ON player(room_id);
```
### 2. Setup Backend
```bash
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure database (create .env file)
cp env.example .env
# Edit .env with your database c