How to Use the Boccia Referee App

Boccia Referee is a free web app for running a boccia pairs or team match on a single phone. The app keeps track of the throwing order, the balls left, the time limit and the score, so whoever is refereeing only has to answer one question: “Which side is closer to the jack right now?” When it’s hard to tell, take a photo from directly above with your phone’s camera and the app will give you an estimate of which ball is closer.

This is a helper tool for recreational boccia at local events, schools and care facilities. It is not official refereeing equipment. For close calls, measure with a tape measure as usual and let the referee decide.

1. What the app does

No sign-up or installation needed. Just open https://boccia-referee.pages.dev/ in your browser. Once you’ve opened it, it works even without a signal.

2. Starting a match (pairs or team)

Choose the match format on the first screen.

Team and player names are optional (if you leave them blank, the app shows “Red”, “Red 1” and so on). If you enter names, the app shows who throws the jack and who throws next by name, which makes it easier for children and first-timers to follow. Next to each player’s name, you’ll see the end in which that player throws the jack.

Advanced settings

Open “Advanced settings” to change the number of ends, the balls per player, and the time limit per end (4 minutes is the default for pairs; you can also choose 7 minutes, any number of minutes, or no timer). If you’d rather play without worrying about time, choose “No timer”. “Reset to defaults” puts the standard values for the format back.

When you’re ready, tap “Start match”. Your last settings (team names and so on) are remembered for next time.

3. How an end works

  1. Throw the jack: the screen shows who throws it. When the jack stops, tap “Valid” or “Invalid”. If it’s invalid (it didn’t cross the V-line or it went out of the court), the next player throws it again.
  2. First colored ball: the side that threw the jack throws the first colored ball.
  3. When a ball stops, tap the player who threw it: the app asks “Which is closest?”. Answer red, blue or same distance. The timer pauses until you answer. If you can’t tell, tap “📷 Not sure → Check by photo”.
  4. Who throws next: the app calls up the side that is farther from the jack. A side with no balls left is skipped.
  5. End of the end: once all the balls have been thrown, the app walks you through “① Judge → ② Confirm score → ③ Next end”. If you judged by photo, the score is already filled in, so just check it and tap “Confirm”. You can also enter the score yourself after looking or measuring with a tape measure.

After the last end, the totals decide the winner. If it’s a tie, you go on to a tie-break (an extra end). Tie-break points are not added to the total.

Using it just as a scoreboard

If recording every ball is too much, go to “More actions” and choose “Skip ball tracking and enter this end’s score” to enter only the score for each end. “More actions” also has adding a penalty ball, ±10 seconds on the timer, “Red (Blue) throws next” (to correct the turn) and “Don’t throw remaining balls”.

4. Judging distance by photo (level camera)

Photo judging analyzes the image on your phone only: it finds the red, blue and jack balls and compares their distances to the jack. Your photos are never sent anywhere, and it works without a signal. For an accurate result, it’s important to take the photo from directly above, with the phone level.

First, calibrate the level once

A phone’s tilt sensor can be off by 1–2° depending on the device. On the first screen, open “Photo judging settings”, lay the phone screen-up on the court floor, tap “Calibrate level on floor”, and keep it still for about a second. When you see “Level calibrated”, you’re done. If you change your phone case, do it again to be sure.

How to take the photo

  1. Tap “📷 Check by photo” → “Start camera”.
  2. Hold the phone screen-up and level, about 1 m directly above the jack. A selfie stick is easier and steadier than stretching out your arm.
  3. A circle appears in the middle of the screen. Get the jack inside this circle. If it’s outside the circle, arrows guide you, e.g. “Move the phone a little to the right”.
  4. When the phone is tilted no more than 1° front-to-back and side-to-side (you can change this to 0.5–5° in the settings) and the jack stays inside the circle for a moment, the shutter fires automatically.
  5. If it doesn’t fire automatically (for example, when the jack is on a white line and hard to spot), use the “Take photo” button that appears when the phone is level to take it yourself.

The jack goes in the middle because errors from lens distortion and any small remaining tilt are smallest at the center of the image. Make sure the jack and all the balls near it are in the photo. Shadows of people or a stick falling on the balls make them harder to find.

Reading and correcting the result

The photo is overlaid with markers for the balls found, numbers in order of closeness to the jack, and lines. Below it, you’ll see a result such as “Red 2 points” and a confidence level.

If a ball was missed or misidentified, you can fix it on the photo. Add markers with “+Red”, “+Blue” and “+Jack”; tap a marker to select it, then drag to move it, change its color, delete it or resize it. The app re-judges right away after each fix.

When to use a tape measure

When the result says “Too close to call”, when balls overlap and one is hidden, when a ball is touching the jack, or when the markers just won’t line up with the balls, don’t use the photo result — measure with a tape measure. Photo judging is a guide to help the referee; the referee makes the final call.

Saved photos and devices without a tilt sensor

Photos where the tilt isn’t known have larger errors, so they can’t be used by default. If you really want to use them, turn on “Allow tilted & saved photos” in the settings. On devices without a tilt sensor, turning this on also lets you take photos (shoot from as directly above as you can).

5. Fixing a score or undoing a step

If the screen goes off or you accidentally reload the page, the match picks up where you left off. If you were in the middle of photo judging, the photo itself isn’t kept, so take it again.

6. Match history and sharing

Finished matches are saved in “History” (up to 100 matches, newest first). You can see the score for each end, how it was decided (“By photo (confidence)”, “Entered by hand”, “Edited”), and a small marked-up image when an end was judged by photo.

Tap “Share / Copy” to turn the result into a short message you can send by text, messaging app or email, or copy and paste. Delete records you don’t need with “Delete” (the small images are deleted too).

History is stored only in this phone’s browser and isn’t shared with other devices. When you switch phones, use “Export / import history” on the first screen to export it to a file, then import that file on the new device. For details, see the privacy policy.

7. Using it in a gym with no signal / adding it to your home screen

The first time you open the app, the files it needs are saved on your phone, so after that it opens even without a signal. If you’ll be in a gym or a basement venue, open it once before you leave home to be safe. Photo judging also runs on your phone, so it needs no signal either.

Add to Home Screen on iPhone (Safari)

  1. Open the app in Safari.
  2. Tap the Share button (a square with an arrow pointing up) at the bottom (or top) of the screen.
  3. Choose “Add to Home Screen”, then tap “Add”.

Add to home screen on Android (Chrome)

  1. Open the app in Chrome.
  2. Tap the “⋮” menu at the top right.
  3. Choose “Add to home screen” or “Install app”.

When opened from the home screen icon, the app runs full screen without the address bar. During a match, the app keeps the screen from turning off in browsers that support it.

8. FAQ and troubleshooting

The camera won’t start

The first time you use the camera, your browser asks whether to allow camera access. Choose “Allow”. If you chose “Don’t Allow” by mistake: on iPhone, go to the Settings app → Safari → Camera and set it to “Ask” or “Allow”; in Chrome on Android, tap the icon to the left of the address bar → Permissions → Camera and allow it. Then reopen the app. The camera only works on pages that start with https://.

On iPhone, I see “Permission to use the tilt sensor was not granted”

On iPhone, the app has to ask for “Motion & Orientation Access” before it can use the tilt sensor. Choose “Allow” in the prompt that appears when you start the camera or calibrate the level. If you declined once, close the Safari tab and reopen the app, and you’ll be asked again. If you opened it from the home screen, swipe the app up to close it completely, then reopen it. If you still can’t allow it, turn on “Allow tilted & saved photos” in the settings to take photos without the tilt check (the error will be larger).

The phone is level but the photo isn’t taken

This happens when you haven’t done “Calibrate level” yet, or when a thick phone case changes the angle when the phone lies on the floor. Put the phone on the floor and calibrate the level again. If it’s still difficult, widen “Allowed tilt” in the settings to 2° or so (this adds a little error).

The jack isn’t found / the photo isn’t taken automatically

The jack can be hard to find on a white line or a whitish floor. Once the phone is level, take the photo yourself with the “Take photo” button, then place a “+Jack” marker on the photo. In dim lighting, shooting from a direction where shadows don’t fall on the balls makes them easier to find.

The result is clearly wrong

Check whether the markers are in the right place and the right color. A reddish floor, a blue mat or white marks can be mistaken for balls. Delete wrong markers and add any missing balls, and the app will judge again. If you’re still unsure, measure with a tape measure.

The app won’t update / the screen still looks old

So that it works offline, the app’s files are saved on your phone. A new version downloads in the background when you open the app with a signal, and takes over the next time you open it. If you still see the old version, close the app (or browser tab) completely and open it again. Your records are kept even in the middle of a match.

My history has disappeared

History is stored in your browser. It won’t be visible if you’ve cleared your browser’s history and website data, opened the app in private browsing, or opened it in a different browser (e.g. Safari vs. Chrome). Export important records to a file with “Export history” to be safe.

Does it cost anything?

It’s free to use. In the future, ads may be shown outside the match screens (our policy is not to show ads during a match).

For the rules, see the boccia rules page, which explains them for first-timers.

This page was translated from the Japanese original with AI assistance. Corrections are welcome at info@eigosan.com.