Open source · Rust · works offline
PolyTabletop
Table games without borders.
1200 playable games from around the world — chess, go, cards, dice, deduction, cooperative adventures — in one small program for your terminal, a window or your local network.
InstallThe gamesView on GitHub
What is PolyTabletop?
PolyTabletop is a collection of table games written from scratch in Rust: classic abstract games, traditional games from every continent, card and dice games, party and deduction games, cooperative adventures and small strategy games with original rules.
It is one program with one rule engine: the same game can be played in the terminal, in a graphical window, against the computer, with a friend at the same keyboard or over the network.
- Games without bordersGames from Asia, Africa, the Americas and Europe sit side by side, with an interface in 27 languages.
- An AI that doesn't cheatThe computer sees only what a human player would see: your hidden cards stay hidden and the dice are rolled fairly.
- Clean-roomWritten from public rules and original ideas, without copying code, artwork or names that belong to anyone.
- 27 languagesInterface in 27 languages, including Esperanto and Latin; game titles and rules wherever they have been translated.
- Rust, no external dependenciesThe engine relies only on Rust's standard library: nothing to download at run time and no installer to run.
Ways to play
- Terminal (CLI)Type moves such as e2e4, enter ? for the legal moves or hint for a suggestion. Works over SSH, in a tiny window, anywhere.
- Graphical window (egui)An optional desktop interface built with egui: click to move, with the same rules and the same AI.
- Network: host and joinOne machine runs host chess, the other connects with join ADDRESS:PORT. Play together on the same local network.
- Arena and benchmarkPit the AI against itself (arena), measure speed (bench) or rank time budgets by Elo (ladder).
- Four difficulty levels--level easy, normal, hard or expert sets how long and how deeply the AI thinks.
- Replay and exportSave a game, replay it step by step and export it as PGN, text or JSON; PGN files can be imported back.
- Deterministic seed--seed N makes deals and dice reproducible: the same number gives the same game, handy for puzzles, tests and fair duels.
Install
Choose what suits you. There is no installer and no external library to set up.
curl -fsSL https://raw.githubusercontent.com/chiuta/PolyTabletop/main/install.sh | bash
polytabletop --lang en play chessClean-room, public rules
Every game is implemented from publicly known rules or from original designs, with no code, artwork, text or sound taken from commercial products. The program uses no brand names, no protected characters and no copied imagery; where a game is an original variant, it says so.
Traditional games belong to everyone: PolyTabletop only adds careful code and rules texts of its own.
License and trademarks
Source code under the MIT or Apache-2.0 license, at your choice. Names of traditional games are used descriptively; should any of them be a trademark, it is used only to identify public rules. PolyTabletop is not affiliated with or endorsed by any publisher.
PolyTabletop belongs to Fără Frontiere (“without borders”), the author's series of trade-free applications: offline, no accounts, no advertising, no tracking, free to use and to share.
Created by Alexio (Alexandru-Ionuț Chiuță), Romanian science-fiction author and long-time volunteer of the trade-free movement.