Dots: surround and capture, in Rust

0 min read Page Views

A Rust implementation of the paper-and-pencil game Dots — the surround-and-capture variant, not Dots-and-Boxes. Place dots on a grid and enclose your opponent’s dots in a closed chain of your own color (diagonals count) to capture them and score.

Dots desktop GUI: Blue captures a Red dot by enclosing it

The game engine is a standalone crate with no I/O, reused unchanged by a desktop GUI (egui) and an online server (axum + WebSocket) with a browser client, chess-style clocks, and a SQLite Elo leaderboard.

Play it live at dots.mlngo.eu.

Last updated on 2026-06-06