← BACK TO THE PORTFOLIO

Working software prototype

Real board.
Remote match.

Gammon Live lets two people play online while both keep using physical backgammon boards. A phone watches each board, the server maintains the authoritative match state, and a live viewer keeps both players synchronized.

Gammon Live match viewer showing a synchronized backgammon board
Cropped Gammon Live mobile scanning interface
PHONE CAMERA
+ RULES ENGINE

Computer vision guided by game state.

Reading a board from a phone image is only half the problem. Glare, hands, shadows and similar checker colours can make a visually plausible result impossible under the rules. Gammon Live combines OpenCV and YOLO output with a rules engine that knows the previous position and the legal moves.

When there is one valid interpretation, the server advances the match. When the image is genuinely ambiguous, the player receives a small confirmation instead of the system silently inventing a move.

01 · PAIR

Join by QR

The phone and browser join the same match without requiring a complicated setup flow.

02 · CAPTURE

Read the board

The calibrated phone view sends a sharp frame when the pieces or dice need to be read.

03 · RECONCILE

Apply the rules

Vision candidates are checked against the last trusted state and legal backgammon moves.

04 · SYNC

Update both players

FastAPI and WebSockets publish the accepted position to the shared live interface.

Demo availability

The public server is not kept online continuously.

The project is a working engineering prototype, but the hosted demo only runs for planned tests and demonstrations. If you would like to inspect the system, discuss the architecture or arrange a live trial, email me and I will prepare it.

Request a demo via emailabughazalaibrahim@gmail.com