A simple web-based Italian Tombola (Bingo) game with win tracking functionality.
This code is mostly AI generated.
- π 6 Bingo Cards with numbers 1-90 distributed across them
- π― Click to Extract - Click on any number to mark it as extracted
- π Extraction History - View all extracted numbers in reverse chronological order
- π Win Tracking - Track predefined wins (Ambo, Terna, Quaterna, Cinquina, Tombola)
- β Custom Wins - Add your own custom win types
- π Confetti Animation - Celebrate when Tombola is checked
- πΎ Auto-Save - Game state is automatically saved to localStorage
- π Shareable Links - Share game state via URL parameters
- π¨ Customizable Colors - Use URL parameter to change the extraction color
Simply open index.html in a web browser. No build process or dependencies required!
- Click on any number to mark it as extracted
- Click again to unmark it
- Extracted numbers appear in the history on the right sidebar
- Check off wins as they occur
- Add custom wins using the input field at the bottom of the sidebar
- Delete custom wins by clicking the Γ button next to them
- Click the "Reset" button to clear all extracted numbers and wins
Add a color parameter to the URL with a hex color code (without #):
index.html?color=e74c3c
The game state is automatically encoded in the URL, so you can share your current game by copying the URL from your browser's address bar.
- Pure JavaScript - No frameworks or libraries required
- Responsive Design - Works on desktop and mobile devices
- LocalStorage - Game state persists across browser sessions
- URL State Management - Share game state via URL parameters
βββ index.html # Main HTML structure
βββ style.css # Styling and animations
βββ app.js # Game logic and state management
Works in all modern browsers that support:
- ES6 JavaScript
- CSS Grid
- LocalStorage API