A web-based trivia bingo game featuring 27 questions about Choctaw Nation culture, language, history, environmental protection, and water resources. Host and player views run entirely in the browser and synchronize through the BroadcastChannel API.
Once deployed, access the game at: https://<your-username>.github.io/Bingo/
- Host Console: Start a game session, call questions, display QR codes for easy player joining, and reveal answers
- Player View: Get a unique 5x5 bingo board based on your name and game code
- 27 Trivia Questions: Topics include Choctaw language, native trees & plants, wildlife, history, environmental protection, recycling, and water resources
- Automatic Bingo Detection: Get 5 in a row (horizontal, vertical, or diagonal) to win
- No Backend Required: Everything runs in the browser with BroadcastChannel sync
- Mobile Responsive: Works on phones, tablets, and desktops
| Category | Questions |
|---|---|
| Choctaw Language & Nature | 9 |
| History & Geography | 4 |
| Environmental & Recycling | 7 |
| Water Resources & Settlement | 7 |
-
Start a local static server from the project root:
python3 -m http.server 4173
-
Open the host console at http://localhost:4173/public/host.html
-
Share the QR code or URL shown on the host console; players join at the player URL with the provided game code
This repository includes a GitHub Actions workflow that automatically deploys to GitHub Pages:
- Go to your repository Settings > Pages
- Under "Build and deployment", select GitHub Actions as the source
- Push to the
mainbranch or manually trigger the workflow - Your game will be available at
https://<username>.github.io/Bingo/
- Deterministic Board Generation: Game code + player name seeds a shuffle algorithm, so every player gets a unique reproducible card
- BroadcastChannel API: Host broadcasts game state (questions, answers, resets) to all player tabs on the same origin
- Client-Side Answer Checking: Case-insensitive matching happens in the browser
public/
├── index.html # Landing page
├── host.html # Host console
├── player.html # Player view
├── styles.css # Unified styles
├── host.js # Host logic
├── player.js # Player logic
├── common.js # Shared utilities
└── questions.js # Question bank (27 questions)
- Questions: Edit
public/questions.jsto add or modify questions (keepid,category,prompt, andanswerfields) - Styling: Customize colors and layout in
public/styles.css - Deployment: Serve the
public/directory from any static host (Netlify, Vercel, S3, etc.)
Thank you for playing Choctaw Nation EPS Trivia Bingo!