Contents
1 Overview
Showtime Bingo is a complete HTML5 single-player bingo game with 75 balls. You play on a neon city stage against 3 computer rivals, and a fox host calls every ball. Mark the numbers on your cards and press BINGO before a rival does.
It is American bingo: 75 balls, 5 x 5 cards (B 1-15, I 16-30, N 31-45, G 46-60, O 61-75) with a FREE square in the centre, and 1 to 4 cards per round. There are 4 patterns (Line, 4 Corners, X and Blackout) and 3 speeds (Relaxed, Classic and Fast). The 3 rivals are picked each round from 6 (Jack, Mia, Walter, Nina, Ruby and Marcus). There is no money, betting, coin, shop, purchase or prize of value: the points are only a score.
Around the rounds: a ball globe, a power-up, a collection of 6 stamps unlocked by your total of bingos, a fox host with 14 poses, 66 sound effects and 3 music tracks, 14 interface languages, an auto daub option, and layouts for phone, tablet, desktop and ultrawide screens. Everything you see is drawn with picture files (WebP), so you can replace the art without touching the code.
2 Installing on your website
Installing takes a few minutes if you have FTP access or a file manager in your hosting panel.
- 1. Extract
showtime-bingo-static-1.0.0.zipon your computer. -
2. Connect to your hosting by FTP or its file manager and open the folder where the game should live, for
example
public_html/games/showtime-bingo/. -
3. Upload only the contents of the
game/folder, so thatindex.htmlsits directly inside the target folder. -
4. Keep
src/andassets/besideindex.html, with names and letter case unchanged. -
5. Open
https://your-domain.example/games/showtime-bingo/in a modern browser.
source/ folder, the documentation/ folder or the ZIP itself.
Players need no Node.js, PHP, database or account.
3 Requirements
-
Any static web hosting with HTTPS (or HTTP). Opening
index.htmldirectly from the disk (file://) does not work, because browsers block JavaScript modules there. - A current browser on desktop, tablet or phone: Chrome, Edge, Safari, Firefox or Opera. The game draws with HTML, CSS, a canvas layer for the effects and the Web Animations API, so it needs no 3D graphics.
-
About 11 MB of space on the server (341 files). The game makes no request to other websites: the fonts,
pictures, sounds, voice and music are all inside
game/. -
Node.js is only needed to run the tests or to rebuild the game from
source/(see the development section). - Tested on a computer in the Chrome, Safari (WebKit) and Firefox engines, also in phone-sized windows. It has not been formally tested on physical phones or tablets.
4 How to play
Goal: complete the pattern on one of your cards and press BINGO before a rival does. Each round you pick 1 to 4 cards; every rival plays with the same number of cards. When the fox calls a ball, tap that number on your card to mark it (only a number that was already drawn counts). When the pattern is complete, the BINGO button lights up: press it. The first one to call wins. The rivals wait 0 to 2 balls before they call (Blackout: 1 to 3), so a quick player can still win.
Patterns: Line is any row, column or diagonal; 4 Corners is the four corner squares; X is both diagonals; Blackout is the whole card. Speeds: Relaxed, Classic and Fast draw a ball every 5.2, 2.8 and 2.0 seconds. You can also tap the ball tray (or the globe, when it is on screen) to draw the next ball sooner. Pulling a ball is blocked while a BINGO is ready.
Score: 100 points per mark, 5,000 for a BINGO and 50 for every ball left in the machine. A wrong BINGO call costs 300 points (the score never goes below 0). The power-up fills with 8 marks per card in play; when it is full, tap it and it marks for free the square that helps most. After ball 75 you still have one last chance to mark and call; after that, the first rival that completed the pattern wins.
Options: Auto daub marks every number that was drawn (also the earlier ones, when you turn it on during a round), and you still call BINGO. Vibration (only where the device supports it), Reduce motion (it also follows the system setting) and Full screen (only where supported) are in Settings. The voice and the word BINGO stay in English in every language; the interface texts are translated.
Phone and keyboard: on small screens with 2 to 4 cards, one card is large and the others are thumbnails. A ball on a thumbnail shows a number that is still to be marked there; tap a thumbnail to bring it to the front. You can play with the mouse, with touch or with the keyboard (Tab, Enter and Space; Esc closes a panel that has an X, resumes a paused game or pauses a round). If you leave the tab, the draw waits and comes back with a 3, 2, 1 count.
End of a round: a win shows 3 stars and your progress to the next stamp. A loss is gentle: it shows how many numbers were missing, and when only 1 was missing it also shows the real next ball. The collection has 6 stamps (daubers) unlocked by your total of bingos: 0, 3, 10, 20, 35 and 50. The stamp you choose marks your cards. Bingos, best score, rounds, your choices and your settings are saved in the browser.
5 Screens
Marks on the screenshot
- Logo
- Bingos and best score
- Play
- How to play
- Collection
- Sound
- Settings
Marks on the screenshot
- Number of cards
- Pattern
- Speed
- Start
Marks on the screenshot
- Ball tray
- The 3 rivals
- Your cards
- Fox host and globe
- Pattern
- Balls drawn
- Score
- Power-up
- BINGO button
Marks on the screenshot
- Thumbnails
- The large card
- Ball tray
- BINGO button
Marks on the screenshot
- Result
- Stars
- Progress to the next stamp
- Buttons
Marks on the screenshot
- The stamps
Marks on the screenshot
- Switches
- Language
Marks on the screenshot
- Languages
Marks on the screenshot
- The three steps
6 Files and folders
game/ is the ready-to-host game. source/ has the same editable files plus the
tests, a local preview server and the build command. The code is plain JavaScript ES modules with no compile
step and no npm dependency.
game/ - upload these contents to your web host
index.html - the page with every screen and panel
src/config.js - START HERE: feel numbers, colours, patterns, the 6 rivals, the 6 stamps and the theme
src/game/rules.js - the rules of 75-ball bingo and the scores (RULES), pure functions with tests
src/ui/ - the screens (round, cards, rivals, score and power-up, panels, menu, fox, finale) and their .css files
src/fx/ - stage and curtains, ball globe, tray hole, lamps, particles, the effects clock
src/audio/audio.js - the sound engine; src/audio/files.js is the list of sound files
src/lib/ - language (i18n.js), the 14 locales/, save (storage.js), full screen, nine-slice frames
assets/ - logo.webp and the 14 fox pictures (fox-*.webp)
assets/ui/, fx/, stage/ - buttons, panels, rivals, stamps and balls; effect sprites; the stage layers
assets/audio/ - 66 effects, 3 music tracks (m-*.mp3) and voz/ (the fox voice: 88 files)
assets/fonts/ - Fredoka and Rubik, with their licenses
DOCUMENTATION.txt - short note that points to this guide
source/ - the same editable files, plus:
package.json, package-lock.json
README.md, DO-NOT-UPLOAD.txt
tests/ - npm test
tools/build.mjs - copies the game into dist/
tools/serve.mjs - local preview server (npm run dev, npm run preview)
tools/check-node.mjs - checks the Node.js version before the commands
documentation/index.html - this guide (offline, 14 languages)
documentation/customization.html - step-by-step customization guide
documentation/img/ - the screenshots of the guides
DOCUMENTATION.html - shortcut to this guide
CUSTOMIZATION.html - shortcut to the customization guide
START-HERE.txt, CHANGELOG.txt
THIRD-PARTY-LICENSES/ - Fredoka and Rubik licenses
-
src/config.js: the feel numbers (speeds and times), the colours, the patterns, the 6 rivals, the 6 stamps and the theme colours.src/game/rules.js: the rules of the game and the scores (RULES), written as pure functions with tests. -
src/ui/: the screens (the round, the cards, the rivals, the score and power-up, the panels, the menu, the fox and the end of the round) with their style sheets.src/fx/: the effects (stage and curtains, ball globe, the hole of the tray, lamps, particles and the effects clock). -
src/audio/audio.js: the sound engine, andsrc/audio/files.js: the list of sound files.src/lib/: language (i18n.js), the 14locales/, the save (storage.js), full screen and the nine-slice frames. -
index.html: the page with every screen and panel.assets/: the logo and the 14 fox pictures (fox-*.webp),ui/(buttons, panels, rivals, stamps, balls),fx/(effect sprites),stage/(the city, the stage, the globe and the curtains) andfonts/. -
assets/audio/: 66 sound effects (the last one,amb-crowd, is the crowd), 3 music tracks (m-menu,m-jogo,m-vitoria) andvoz/: the fox voice, 88 files (8 phrases, the 5 letters and the 75 numbers). -
Some names are in Portuguese because the game was built that way:
jogois game,vitoriais victory,vozis voice,letrais letter,numis number andmusicais music. Keep every name: the code builds some of them (for examplenum-73), so a renamed file would stay silent.
7 Customizing
CUSTOMIZATION.html in the main folder of the download, or
documentation/customization.html.
Rules and scores: the top of src/game/rules.js has RULES: the 3 rivals, how many
marks fill the power-up, how long each rival waits before it calls (rivalLag) and the points
(100 per mark, 5,000 for a BINGO, 50 per ball left, minus 300 for a wrong call). Change a number and the
whole game follows.
Feel and speed: FEEL in src/config.js has the time between balls for the 3 speeds,
the globe, the particles, the shake and every pause. The colours of the letters, the patterns, the rivals,
the stamps and the theme colours are in the same file.
Pictures: replace a file in assets/ with another WebP of the same name and a similar size. The
fox is 14 pictures of the same size, the 6 rivals have 3 pictures each, the buttons, panels and card frames
are nine-slice pictures (keep their size and corners), and the stage is a set of layers in
assets/stage/.
Texts: every interface text is in src/lib/locales/, one file per language. The rival names and
the word BINGO are not translated.
Sounds and music
Every effect is an MP3 in assets/audio/, named with its id, and the music is
m-menu, m-jogo and m-vitoria. The fox voice is in
assets/audio/voz/: the 5 letters (letra-b, letra-i,
letra-n, letra-g, letra-o), the 75 numbers (num-1 to
num-75) and 8 phrases. Replace a file and keep its name.
The game plays 66 sound effects (with the crowd), 3 music tracks and 88 voice files. The list is
src/audio/files.js. To record the ball calls in another language, record the 5 letters and the
75 numbers with the same names. To play without any voice, empty the voz list in
files.js.
showtimebingo_v1 (KEY
in src/lib/storage.js). If you host two different versions of the game on the same domain,
give one of them another name, otherwise they share progress and language.
8 Languages
The game has 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. The first visit uses the browser language; the player can change it in Settings.
To change a text, edit the same key in src/lib/locales/<code>.js. A key missing in
another language falls back to English. To add a language, copy en.js, translate it, then
import it and add it to LANGS, LANG_NAMES and STRINGS in
src/lib/locales.js; the automatic test counts 14 languages, so change that number in
tests/locales.test.mjs too.
The first visit uses the language of the browser, and the player changes it in Settings, where it is
remembered. You can also open the page with ?lang=de at the end of the address (any of the 14
codes) to start in that language. The voice and the word BINGO stay in English. The Latin alphabets use the
included Fredoka font and Russian uses the included Rubik font. Japanese, Korean and Chinese use the fonts
of the device.
9 Saving and resetting
- Bingos, best score, rounds played, the stamp you chose, your choices for a new round, the volumes, the settings and the language are saved automatically in the browser of each player (localStorage). Nothing is sent to a server.
-
Everything is stored as one object under the key
showtimebingo_v1. The game keeps working if the browser blocks storage, but then the progress lasts only until the page is closed. - To start over, delete these keys in the developer tools (F12), under Application, Local Storage, or clear the site data in the browser.
showtimebingo_v1
10 Development (optional)
This section is only for changing the code. The game/ folder already contains the finished
game, so installing it needs no Node.js. The game has no npm dependencies and no compile step:
npm run build only copies the files into dist/.
1. Install Node.js. Open https://nodejs.org/en/download and choose the latest Node.js 26 LTS installer for your system (minimum 26.13.0). npm is included.
Windows: run the .msi installer, keep npm and Add to PATH enabled, finish the installation and reopen Command Prompt. macOS: run the official .pkg installer and reopen Terminal. Linux: follow the instructions on the same page for your distribution.
2. Check the installation. Run node --version and npm --version separately. Both
must print a version number, and Node.js must be 26.13.0 or newer. If a command is not found, reopen the
terminal and check that Node.js is in PATH.
node --version
npm --version
3. Extract the complete ZIP first and open its source/ folder, where
package.json is. Windows: type cmd in the address bar of that folder in File Explorer. macOS
and Linux: open Terminal and use cd with the path of the folder.
4. Run the commands below one by one. npm ci checks the lock file (nothing is downloaded, the
project has no dependencies). npm test runs the checks: the rules, the settings, the 14
languages, the pictures, sounds and voices and the package.
npm ci
npm test
5. Preview: npm run dev starts a local server; open http://localhost:5180/ in your browser,
play for a while, and stop the server with Ctrl+C.
npm run dev
6. Build: npm run build empties source/dist/ and copies index.html,
src/ and assets/ into it. dist/ is what you publish; while the source
is unchanged it is identical to game/.
npm run build
7. Publish: back up the game on your website, then upload the contents of dist/ in place of the
old files, keeping the folders. If you deleted or renamed a file, delete the old one on the server yourself.
Clear the cache afterwards.
npm test, means Node.js is too old. If PowerShell
blocks npm.ps1, use Command Prompt or run npm.cmd.
11 Updating and clearing the cache
Clearing the cache without losing progress
Progress is stored in this browser, not on the server. Clearing cached images and files, or doing a hard reload, keeps your progress.
Computer: press Ctrl+F5 on Windows and Linux, or Cmd+Shift+R on macOS. Phone: in the browser settings, choose the option to clear cached images and files.
Do not choose cookies and site data, or clear site data, for the game's address. That deletes the local save.
12 Licences and credits
The game code, the artwork, the sound effects and the music are supplied under the license of the item you purchased.
Third-party parts, with their complete license texts in THIRD-PARTY-LICENSES/: the Fredoka font
(Latin and Latin Extended) and the Rubik font (Cyrillic), both under the SIL Open Font License 1.1, also in
assets/fonts/. The game has no third-party code library.
13 Common problems
-
Blank page or a game that never opens: the game was opened from the disk or a file is missing. Use a web
host and keep every file and folder of
game/next toindex.html. - No sound: browsers start audio only after the first tap, click or key press. Check both volumes in the Sound panel (Effects also controls the voice) and the volume of the device.
- A blank page after you edit a code file: a typo in the file. Open the browser console (F12) to see the message, then fix the line or put the original back.
- The game feels slow on an old phone: turn on Reduce motion in Settings. The game also lowers its own effects when it notices a slow device.
- The old version still appears after an update: clear the cache (see the section above). Two copies on the same domain share their save (see the save key).
- A picture or a voice is missing or does not change: the file has another name than the one the game asks for, or the letter case differs (servers are case sensitive). Keep the exact names.
14 FAQ
Does the game need a database or a server language?
Does it use a game engine or a library?
Can I change the scores, the patterns, the rivals and the art?
Does it work on phones?
Is it gambling? Does it have ads, accounts, an online ranking or purchases?
Can two people play against each other?
15 For AI assistants
If you ask an AI assistant to help you change this game, give it the prompt below together with your request. It describes the project so the assistant works on the right files and does not break the rules of the game.
You are helping me change "Showtime Bingo", a finished HTML5 single-player 75-ball bingo game (version 1.0.0). Read these facts before you edit anything.
PROJECT
- Plain JavaScript ES modules, HTML and CSS. No bundler, no compile step, no npm dependencies, no game engine, no external library.
- The editable project is source/ (the same files as game/, plus tests and tools). Edit source/, never game/ or source/dist/.
- npm run build copies index.html, src/ and assets/ into source/dist/ and nothing else. Upload the CONTENTS of dist/ (or game/) to a static web host. The game does not run from file://.
- Node.js 26.13.0 or newer is needed only for: npm ci, npm test, npm run dev (http://localhost:5180/), npm run build, npm run preview.
GAME
- Single player against 3 computer rivals (picked each round from the 6 of RIVALS). American bingo: 75 balls, 5x5 cards (B 1-15, I 16-30, N 31-45, G 46-60, O 61-75), FREE centre. 1 to 4 cards per round. 4 patterns: line, corners, x, blackout. 3 speeds: relaxed, classic, fast. There is no money, betting, shop or prize of value: never add any.
- src/game/rules.js: RULES (rivals, chargeMax, rivalLag, score) and the pure rules (newRound, draw, daub, callBingo, usePower, winCells, toGo) with a seeded shuffle. Never put screen, sound or time code in it. Every function that changes the state returns a list of events.
- src/config.js: FEEL (every number of rhythm, speed and feel), COLOR (the colour of each letter), PATTERN_ICON, PATTERN_START, RIVALS, STAMPS and THEME. The numbers in FEEL never change a rule, a draw or a score.
- src/ui/: the screens (game.js runs the round; cells, rivals, hud, fox, finale, intro, panels, menu, layout). src/fx/: stage, globe, hole, lamps, particles and the effects clock.
- Texts: src/lib/locales/<code>.js, 14 languages (en, pt, es, fr, de, it, nl, pl, tr, ru, id, ja, ko, zh), same keys in every file; English is the fallback. New text goes in all 14. The rival names and the word BINGO are not translated. The voice stays in English.
- Saving: one object in localStorage under the key showtimebingo_v1, through src/lib/storage.js. Add nothing to another key.
- Sounds: assets/audio/<name>.mp3 listed in FILES.sfx in src/audio/files.js, the music m-menu, m-jogo and m-vitoria, and the voice in assets/audio/voz/ (letra-b, letra-i, letra-n, letra-g, letra-o, num-1 to num-75 and 8 phrases). Some names are in Portuguese (jogo, vitoria, voz, letra, num, musica): never rename them, the code builds some of them.
- Pictures: WebP in assets/. The fox is 14 pictures of 1054 x 1250 (fox-*.webp). The buttons, panels and the card frame are nine-slice pictures: keep their size and corners. The rivals have 3 pictures each (rival-N, rival-N-hot, rival-N-win).
RULES FOR YOU
1. Make the smallest change that does what I ask. Do not rename or move files. A file name used by the code (assets/..., the voice files) must keep matching.
2. Run npm test after every change and fix what it reports. Run npm run build at the end.
3. Test through a web server (npm run dev), never from file://.
4. Add no network request, CDN, analytics, advertising or external font. Keep THIRD-PARTY-LICENSES/ and assets/fonts/*-OFL.txt.
5. Keep comments in English and keep the last line of each own JavaScript and CSS file: // End of <path> (complete file).
MY REQUEST:
(write what you want here)
Replace the last line with what you want, for example: make the rivals slower, add a new pattern or change
the points. Always run npm test after the change.
16 Support
Questions or problems: write to willian@polargames.com.br with your purchase code, the browser
and a short description or screenshot.
Support request
When you write to support, include the browser and device, the game version, the page address, the steps that caused the problem, a screenshot and the first error shown in the browser console. Never send passwords, payment details or secret keys.