hermes-game-center
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 9 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Real board and card games you can play inside Hermes Agent — chess, go, checkers and more, each with its own rules engine and a referee.
Game Center
Eleven games Hermes can actually play — and a referee that refuses an illegal move out loud.
Applies to Game Center 1.0.0 · last revised 2026-11-29 (3bd95e64)

The Play shelf at this commit: eleven curated games, the lobby beside them.
Sea Battle while you code. Pick Sea Battle and fire at enemy waters right beside the chat.

Game Center inside Hermes Desktop. Pick a game and how to play, then play it on a real board. Watch the full demo ▶
Install · Features · How it works · Documentation · Testing · Contributing
What it is
Game Center is eleven Play games in Hermes, each run by a rules engine and a referee that refuses an illegal move out loud. The model proposes the move, the referee decides, and the refusal is kept in the game record and shown on the board.
The eleven are curated Play games with seats, turns, a clear winner, a replay, a computer opponent and the lobby. The rest — four talking tables, two experiments and the workshop prototypes — sit behind one small Experimental link. Everything local runs on this computer, and no network call happens unless you turn online play on or open the pet gallery in Experimental (which reads one public list of pets, nothing about you). Online play is off by default, so the games, lessons, hints and the computer opponent keep working with the server down.
Features
- Real rules engines, and a referee that says no. Eleven Play games drawn from eighteen rule engines, each with its own rules; the referee settles every move.
- Play people, inside Hermes. Online play joins one shared lobby — the Hall — with a chat, a list of who is here, and play requests. It is off until you turn it on.
- Your Hermes model as an opponent. Give a seat to your own model: it gets the board and the legal moves and must answer with one legal move. Any provider works, including a free one.
- Slots over the chat. One Slots game on the Jackpot cabinet, which can float over the conversation.
- Lessons and a hint, on real positions, each replayed through the game's own rules — so a lesson can never teach an illegal move.
- Points for playing and for using Hermes, shown beside the chips the cabinet spends.
- A workshop and a community shelf. Other plugins add a game by shipping
game.json; community games open in your own browser and are never loaded here.
The games
The Play shelf is the curated list in shelf/curated.json — eleven games, and only a reviewed commit changes it. A plugin cannot add its own game to Play from its manifest.
| Game | Board | Moves | Draw rules |
|---|---|---|---|
| Connect Four | 7 × 6 | drop in a column | full board |
| Reversi | 8 × 8 | flip along both lines | no moves for either side |
| Checkers | 8 × 8 | captures are compulsory | 80 moves without a capture or crowning |
| Breakthrough | 8 × 8 | step or capture diagonally forward | none — every game ends |
| Gomoku | 15 × 15 | five or more in a row | full board |
| Chess | 8 × 8 | castling, en passant, promotion | repetition, fifty moves, insufficient material |
| Go | 9 × 9 | area scoring, two passes end it | none — 7.5 komi rules out a tie |
| Hex | 11 × 11 | join your two sides first | none |
| Sea Battle | 10 × 10 | place five ships, then fire | none — a fleet always sinks |
Blackjack (one hand against the house) and Slots (the Jackpot cabinet) are the two Play games that are not boards. The four talking tables, the two experiments Doctrine and Olympus Arena, and the workshop prototypes sit behind the small Experimental link.
The page opens on Play with the lobby beside it, and four links above it: How to play, the Experimental shelf, Settings and Community creations (the Champions tab beside Games is a placeholder — see below). Settings carries your name, the per-game match alerts, table sounds and the Jackpot backdrop switch, and shows the version chip for this install at the top — v1.0.0-dev.N · <commit> · <date>, click to copy. The same chip is drawn at the top of the Games screen, so the build on screen can be named at a glance.
Playing
/games opens the shelf; /games <game> new starts a table, /games <game> state shows it, and /games <game> lesson then lesson next walks a lesson. Moves, by game:
- Connect Four —
move 4, a column 1 to 7. - Reversi —
move d3,a1at the top left. No legal move means you pass. - Gomoku —
move h8on 15 × 15. - Checkers —
move c3 d4, or a full jump chainmove c3 e5 c7. - Breakthrough —
move b2-b3; a diagonal move onto an enemy pawn takes it. - Chess —
move e2e4, andmove e7e8qto promote. - Go —
move e5, a1 at the top left;passtwice ends the game. - Hex —
move f6, a1 at the top left. - Sea Battle —
place carrier a1 handfire e5; on the page, drag a ship onto your waters, a click turns it. - Blackjack —
hit,stand,double,split; Slots —bet50, thenspin.
In Hermes Desktop, Games in the sidebar opens the graphical table and you move by clicking the board. The page does not judge moves; it sends the move to the referee, which does.
A move never silently takes a seat: the other person types /games <game> join or sit black before they can move. resign ends your own seat; leave opens it before play; abandon ends a table without awarding a win; draw and draw accept offer and take a draw; rematch needs both identified people to agree.
Points and chips
Winning a game pays 100 bonus points into your Game Center account — one award per win, never for a draw, whatever the board or the opponent. A win by resignation counts, because the referee settles it as a win.
Two currencies live side by side and are not the same thing:
| What it is | Where it shows | |
|---|---|---|
| Chips | the cabinet's and the tables' money, spent on spins and bets | the cabinet's balance and its rewards strip |
| Points | the award for winning a game, and for using Hermes | the same strip, listed separately from chips |
The wallet keeps points under the key bonus and the screen calls them Points. There are two ways to earn them:
- 100 points for every game you win (once per win, never a draw).
- 10 points for every 1,000,000 tokens your chats use, counting tokens in and out, so the account grows with how much Hermes you actually use. Whole points are paid as they are earned (one point per 100,000 tokens) and the remainder carries into the next reply. The reward strip shows both —
Points: 41 · 3.4M tokens used (10 points per 1M).
Points convert to chips at 75% — four points buy three chips. The Jackpot panel has a slider, a number and Max, so you choose how many points you cash in; points are also your ranking, so cashing in lowers it. The other direction (chips back to points) is not built yet.
Slots over the chat
Slots is one Play game, played on the Jackpot cabinet. Every spin costs the bet in chips, from the same wallet Blackjack bets from; pick a bet (25 chips up) and press Spin.
Two machines sit above the reels, and you can switch between them mid-session: Classic (nine windows, five paylines) and Hermes Olympus (one line, three Greek reels). The odds favour the player: each machine draws its chance of winning once per session, uniformly between 50% and 52%, and every win pays at least the bet; over a session the machine pays back 110% of what it takes, so a person who keeps spinning is slowly up, not slowly down. One session in fifty is a bonus at 60% and one in fifty is cold at 40%; the picker names that in a single word, never as a number. The screen prints none of these numbers: the mechanics run and the odds are drawn and paid, but no percentage appears on either machine.
Inference Slot Machine spins by itself while Hermes is working — one spin per reply and one per tool call, only while a machine is on screen, never on an idle timer. Your points rack up from the tokens you spend. Auto-bet sizes each stake by what the reply cost, from the table minimum up a ladder; turn it off in the cabinet's card to bet the lever amount.
A win climbs a ladder of recorded sound tiers — a small CHING, then NICE! and BIG WIN!, then HUGE WIN! with the alarm, and a full JACKPOT of coins — with coins spilling, a chip counter climbing and, for a big one, a gold flash. The overlay and the flash are fixed, click-through and take no focus, so a big win never stops you typing. The sounds are recorded clips (Mixkit's free slot set) with a synthesised fallback; provenance is in THIRD-PARTY-NOTICES.md.
Inference Slot Machine is the button at the top of the Games page: one press turns on both halves of "spin while Hermes thinks" — the wallet's automatic spin and the Jackpot backdrop that gives it a machine on screen — and a second press turns both off. It reads both switches rather than remembering the last press, so flipping either one in the cabinet, the status bar or Settings moves the button with it; "on" means both. If the shelf refuses, the button returns to its real state and says so in one line.
Show as backdrop draws a see-through copy of the cabinet at the top centre of the conversation, over the chat column — anchored to the composer's own slot, so it appears exactly while the conversation does and never over the Games page, Settings or another plugin's page. It is sized from that slot: the slot's width is the limit, the copy takes half of it when both machines are on, and it is drawn no wider than the composer. Backdrop size 100% is 640 px tall — twice the old 320 px copy, in the same top-centre place — and it never takes more than 60% of the window's height (720 px at the very most) or the chat column's width. Normal, Bigger and Biggest beside the slider set 100%, 150% and 200% in one press; above 100% the copy may grow past that 60% share, up to 95% of the window. Both are set in the cabinet itself; Backdrop opacity starts at 50%. The copy is a picture: no button or slider in it takes a click. The cabinet's size control (25–200%) and Backdrop opacity (5–100%) share one setting with the cabinet's own panel, the status bar and Settings, so every surface shows the same machine. Table sounds in Settings has an on/off switch and a volume slider (0–100%).
Learn, hint, and your own model
Learn to play (/games <game> lesson, then lesson next) walks through three or four steps on real positions, each replayed through the game's own rules. Lessons are never scored or recorded.
Hint (/games <game> hint) works only for one person against the built-in player, on their own turn; the built-in player picks the move and, inside Hermes, your model adds one short reason. Never against another person, and never from a tool call.
Play the computer (/games allow-ai <game> black=local) is you agreeing to face the built-in player. A model calling games_play cannot give that yes, and the profile setting allow_ai: false turns every AI seat off while people keep playing each other.
Play my agent (/games allow-ai <game> black=agent) seats your own Hermes model. On its turn it gets the board, the rules and the legal moves — never player names — and must answer with one legal move. It gets two tries, then the built-in player moves for it, and any refusal is recorded and badged. One model call per move. Choose the model under Settings → Models → Game Shelf opponent; any provider works, including a free one. Left unset, it follows your main model. Works in every table game.
Talking tables
Four games where the players talk as well as move, using the rules of TextArena (MIT, vendored in third_party/textarena/, not installed). Its card sits on the Experimental shelf, locked for now like every other card there; start the table in chat with /games mafia new. The seats then sit round a table, every move is a click, and the message box only opens while that game is in a talking phase.
| Game | Seats | What you do |
|---|---|---|
| Mafia | six | talk by day, vote someone out; two mafia (with a doctor and a detective) choose a victim at night |
| Liar's Dice | 2–6 | bid higher on how many of one face are on the table, or call the bid a lie |
| Prisoner's Dilemma | 3–6 | every pair talks, then works together or sells the other out; points add up |
| Blind Auction | 2 | talk, then send one secret set of bids on five lots with private values |
Each seat can be you, the built-in player, or your Hermes model. A seat's prompt holds only what that seat may see, and another player's words are fenced and length-limited before a model reads them.
Watch it think. A model seat answers four short Read questions (what I know, what they did, what they want me to believe, my safest line), writes at most 80 tokens of private working, then names its action. The person whose bot it is reads all of that in the side panel while the game runs; an opponent's screen never carries it, and it is never written into a shared game file.
Doctrine and Olympus Arena
Doctrine is a bot written as a small JSON card: a name and eight weighted priorities (aggression, safety, objective, focus, cohesion, center, mobility, endurance), each whole from 0 to 100. Four house cards ship with different personalities. A card is data, never code, and every card is checked against fixed size and range limits before it is used.
A battle is deterministic, seeded and turn-based, with a clear win rule, and no model is called during a battle, so the same seed and cards always give the identical replay. Improve sends your card to the model in Settings → Models → Game Shelf opponent, validates the reply, and plays it against your old card over five seeds in both seats; the new card is kept only if it wins more. Olympus Arena is a separate real-time tank battle decided by a strategy card. Both live on the Experimental shelf.
Champions and tournaments
The shelf ships the machinery for bot champions (a named playbook, Elo ratings and badges) and headless tournaments (shelf/champions.py, shelf/tournament.py). In this version the Champions tab is a placeholder: press it and it says the matches it needs do not run in this version, so a champion cannot be created and a tournament cannot be run from the page. Play and Experimental are unaffected.
Experimental and community creations
Everything that is not curated Play — the installed talking tables and experiments, the workshop prototypes (Liar's Dice 2v2, Pet Battles, Mafia Town) and any game another plugin ships — sits behind one small Experimental link, and its cards are kept locked for now: visible to look at, with no way in. A game that is not in shelf/curated.json never reaches Play, a tournament or a rating.
Community creations is a side link with a few cards for games other people made and host on their own sites. Game Center does not load them — no iframes, no previews, no fetching: nothing happens until you press Open, which hands the address to your own browser through the Desktop's openExternal. The list lives in community/games.json, is https-only, and a bad entry is skipped with a plain note. That view also carries Submit your game, which opens a form for a community game or a Game Center game and turns it into a GitHub issue in your own browser (docs/SUBMIT-A-GAME.md explains the three levels in plain words).
Screenshots
![]() The referee says no. A model seat proposed an illegal move; it was refused in one sentence and the built-in player moved instead. |
![]() Play while Hermes works. A game sits in the pane beside your chat. |
![]() The Play shelf in Hermes Desktop: eleven curated games. |
![]() Chess in play. The referee reads every move, and the coach names the opening. |
![]() Lessons on a real position, replayed through the game's own rules. |
![]() Settings: your name, per-game match alerts, AI seats and the version chip. |
![]() Community creations: link-out cards that open in your own browser. |
Install
hermes plugins install KeyArgo/hermes-game-center --ref <full 40-character commit id> --yes-deps --enable
--ref takes the full 40-character commit SHA of the build you want; a short SHA is refused. Find it on the repository's commit page, https://github.com/KeyArgo/hermes-game-center/commits — open the commit you want and copy its full SHA in place of the placeholder. Without --ref, the install takes whatever the default branch points at, not a fixed build. To install another release, use that release's full 40-character commit SHA.
That puts the plugin in <Hermes home>/plugins/hermes-gameshelf/ — ~/.hermes/plugins/hermes-gameshelf/ on Linux and macOS, %LOCALAPPDATA%\hermes\plugins\hermes-gameshelf\ on Windows (%USERPROFILE%\AppData\Local\hermes\... when LOCALAPPDATA is unset), or under HERMES_HOME when you set it — and copies the Games page into the Desktop app from the same package. Nothing else is needed — no watch, no server, no model. The eleven Play games run on this computer against the built-in player, and no network call happens unless you turn online play on or open the pet gallery in Experimental.
Requirements: Hermes Agent 0.23.0 or later. The plugin is Python and JavaScript with no compiled binaries; the tests run on Python 3.13. Online play, if you turn it on, needs the network; everything else does not.
| If you see | Do this |
|---|---|
| No Games entry in the Desktop sidebar | Command palette (Ctrl+K), then Reload desktop plugins |
An AI seat, hint or Improve does nothing |
Those run through your Hermes model — set one with hermes model, or Settings → Models → Game Shelf opponent |
The plugin's manifest name is hermes-gameshelf; the repository is hermes-game-center. enable, disable and remove take the manifest name.
Upgrade, uninstall, and your data
- Upgrade: install again with the same command, then reload desktop plugins. Your data folder, wallet and name stay where they are.
- Uninstall:
hermes plugins remove hermes-gameshelf. That removes the code, not your data folder. It also leaves the recovery key in Hermes's credential store (HERMES_GAMESHELF_LOBBY_KEY) and anyGameCenter-<name>.jsonaccount file you chose to save in Downloads; delete those yourself if you want them gone. - Where data lives: one folder per game, plus
players.json,wallet.json,champions/,ratings.json,tournaments/,installed.jsonandonline.json, all under<Hermes home>/plugin-data/hermes-gameshelf/—~/.hermes/plugin-data/hermes-gameshelf/on Linux and macOS,%LOCALAPPDATA%\hermes\plugin-data\hermes-gameshelf\on Windows. The diagnostic loggame-center.logis in the same folder. Delete that folder to remove everything Game Center remembers, including points and chips.
Quick start
- Open Games in the Hermes Desktop sidebar. The Play shelf opens with the lobby beside it.
- On first launch a Welcome to Game Center card asks for a name (empty box, Suggest a name beside it) and, optionally, which games you would play with someone. Continue saves both; Skip for now starts without a name. It is shown once on first launch — afterwards the name and chips live in Settings, which can also show the welcome again.
- Press Connect Four, then a level (Beginner, Intermediate, Advanced or Expert). You are seated; click a column to drop a piece.
- Or stay in chat:
/games connect4 new white=human black=local level=beginner, then/games connect4 move 4. - Try Learn to play on any Play card for a three- or four-step lesson on a real board.
- Open Settings to set your name, the per-game match alerts and the AI-seat switch.
How it works
flowchart LR
P["Person in Hermes Desktop or chat"] --> D["desktop/plugin.js (built from desktop/src/)"]
P --> C1["/games command and games_play tool"]
D --> A["dashboard/plugin_api.py /api routes"]
C1 --> S["shelf/commands.py"]
A --> CAT["shelf/catalog.py: discovers game.json folders"]
S --> CAT
CAT --> G["game folders: game.json + game.py"]
G --> K["kit.py Table: seats, turns, referee, lessons"]
K --> ST["state.json per game in the plugin data folder"]
A --> W["shelf/wallet.py: wallet.json (chips, points, model-token count)"]
A --> O["shelf/online_source.py"]
O --> SRV["online/server.py: the optional lobby"]
The Desktop page never judges a move. It sends the move to dashboard/plugin_api.py, which routes it through shelf/catalog.py to the game's own game.py; the table checks it through kit.py and writes the result to that game's state.json. The same path serves the /games command and the games_play tool, so a move typed in chat and a click on the board go through one referee.
shelf/catalog.py discovers the game folders that ship here and any installed plugin that ships a game.json. shelf/curated.json is the reviewed Play list; everything else is Experimental. shelf/wallet.py keeps chips and points, shelf/online_source.py speaks to the optional lobby in online/, and desktop/plugin.js is generated from the numbered parts in desktop/src/ by tools/build_plugin.py.
Documentation
| Document | What it covers |
|---|---|
| docs/README.md | Index of every document. |
| docs/ARCHITECTURE.md | Components, data flow and where data lives. |
| docs/CONFIGURATION.md | Every setting, environment variable and config key the code reads. |
| docs/USAGE.md | A walkthrough of each user-facing feature. |
| docs/REFERENCE.md | Tools, commands, hooks, HTTP routes and config keys. |
| docs/FAQ.md | Short answers to the questions the code raises. |
| docs/TROUBLESHOOTING.md | Real failure modes and what to do. |
| docs/DEVELOPMENT.md | Repo layout, build, tests and CI. |
| docs/ADD-YOUR-GAME.md | Put another plugin's game on the shelf. |
| docs/SUBMIT-A-GAME.md | The three places a game can live. |
| docs/ONLINE-PLAY.md | Exactly what online play sends, and when. |
| docs/BOT-API.md | The WebSocket protocol a bot speaks. |
| docs/HOSTING.md | Run the lobby on your own server. |
| docs/LABS.md | What lives on the Experimental shelf. |
| docs/STOCK-LEAGUE.md | The design-only stock league. |
| docs/SECURITY-REVIEW-2026-11-09.md | The six-area security review and what it proved. |
| TESTING.md | How to run every suite, with counts. |
| LIMITS.md | What the plugin does not do. |
| VERIFY.md | Claims and the commands that check them. |
| SECURITY.md | Credentials, traffic, storage and how to stop each. |
| THIRD-PARTY-NOTICES.md | Vendored code and artwork, with licences. |
| PROVENANCE.md | How the repository came to be, and what is unverified. |
| CHANGELOG.md | Release history. |
| SHIP-GATE.md | The release gate and its per-surface checks. |
Privacy & security
- Writes only its own data folder (one folder per game, plus
players.json,champions/,ratings.json,tournaments/andonline.jsonfor the online preferences), and its own diagnostic loggame-center.logthere (1 MB × 3 files, keys and tokens masked — see TROUBLESHOOTING.md). Nothing outside it, and no Hermes config. The one exception is the online recovery key, which goes through Hermes's credential route and nowhere else. - Reads the game folders that ship with the plugin, and the
game.jsonof any installed, enabled plugin in the Hermes home'spluginsfolder (or beside this plugin). Nothing else is claimed. - Model calls go only through Hermes (never to a provider directly) and only when a person chose them: an AI seat you agreed to (
allow-ai), a hint you asked for (your model adds one short reason), a Doctrine card you asked the model to write, signed with a name you typed, or a bot-ladder game you started. No model call happens on its own. Prompts carry game data only — boards, moves, bot weights — plus the one name you typed yourself. - Network: the plugin makes no network calls of its own — no telemetry, no phone-home, no update checks, no remote code loading. Three things can cause traffic, and none happens unless you ask for it: online play, off until you turn it on, talks to that one address (or the
lobby_urlyou set) and nothing else; Open in browser is a plain link that handshttps://games.hermesnet.xyzto your browser; and the pet gallery in Experimental, only while you have it open, reads the public Petdex manifest (https://petdex.dev/api/manifest, the same list Hermes's own pet picker reads, through the host's client when this build has one) to show which pets exist. That request carries nothing about you, your files, your keys or your play. One more address is touched only by a lobby server you host yourself, never by this plugin on your machine: the community arcade's ownership check reads a game'sHERMES-REMOVE.txtfromhttps://raw.githubusercontent.comwhen someone asks to remove their tile. Link-outs you open yourself can take your browser to other hosts: community-game cards incommunity/games.json(hermesarcade.123mikeyd.com,123mikeyd.github.io,mojomast.github.io,slophero.vercel.app,github.com,runtimenotes.com), maker and known-plugin cards inshelf/makers.jsonandshelf/known.json(hermes-agent.nousresearch.com), and the submit page athttps://games.hermesnet.xyz/submit. Game Center never fetches or previews them; the browser contact happens only when you press Open. - No telemetry, no self-update, no remote code loading, no binaries. Updates arrive only when you install a newer version, and the code is MIT.
Online play and the bot ladder (opt-in)
Games with other people are a separate service, https://games.hermesnet.xyz, run by the author. It is off until you turn it on, and the dock's Lobby tab shows the whole disclosure before you do:
Online play and match alerts are off until you turn them on here. When they are on, Game Center talks to
https://games.hermesnet.xyzand sends: the display name you pick, your recovery key when you sign in, which game you are waiting for, the moves you make, your chip and point totals (so they can be moved somewhere else later — they are never used for a leaderboard), and — for the bot ladder — your bot's name and the move it picks. While online play is on, Game Center also stays connected to the lobby — even with the lobby panel closed — so others can see you are online, and it sends which games you will accept a challenge in, whether you are appearing offline, which games you are looking for a match in, and the play requests you send or answer. If you use them, it also sends the optional things you choose to post: a strategy card you publish, a report you file, a block you set, and a bot challenge you start. The key is kept in Hermes's credentials, never in a file of ours and never in a log. It does not send your chats with Hermes, your files, your model or its key, or any telemetry. The server sees your network address the way any website does. Everything else on this page runs on this computer and keeps working when the server is down.
What that means in practice:
- One press to turn on, one to turn off. The address is a setting (
lobby_url, defaulthttps://games.hermesnet.xyz), so a self-hosted lobby works too — docs/HOSTING.md says what that needs. - Your identity is a display name plus a recovery key. Creating a player shows the key once with Copy recovery key; it is kept through Hermes's own credential route (the same place as a provider API key,
HERMES_GAMESHELF_LOBBY_KEY) and can be pasted by hand in Plugins → Game Center → Online recovery key. Game Center never writes the key to its own data folder and never logs it. The only file that can hold it is the account file you choose to save with Save my account file; that lands in Downloads and is yours to manage. Signed in, every Game Center surface shows your lobby account name; signed out, they show this computer's name. - The Hall is the shared lobby. It keeps one connection open while online play is on, and shows a roster of who is here, a chat (
#games) and play requests: set which games you are open to, ask someone for a game, they accept, and both of you are seated at a private table — no code to paste. The connection retries on its own after a drop; Retry beside Let people invite me on the Games page dials the lobby at once. - The lobby lists everyone who is signed in while they are online, so nobody has to queue, say hello or open a page to be seen. The switches at the top are Appear offline (saved on your account: you are in no roster and no request reaches you), Take game requests, and one switch per game. Find match is a row of game chips — one game, several, or All games, and nothing is picked for you — and the server offers the match to both people at once, as a dialog "X wants to play Connect 4 — Join / Not now"; Join seats both at a private table inside Hermes. Lobby posts carry their date and time and are kept thirty days.
- The bot ladder (off the pane for now, 2026-11-11:
PANE_LADDER_OFFhides the ladder and the Bots and leagues area on the dock, with the blocks kept in the bundle — rated bot-versus-bot is not proven end to end and belongs with Champions): press Enter ladder, read the estimate (how many model calls one rated game is likely to take on this computer, and that only the move your model picks is sent), then Start ladder game. Your agent plays under its own bot name and key, through the protocol in docs/BOT-API.md, with its model running here. - Match alerts do not pop up in this build (
ALERTS_OFF): the status bar still shows a quiet count of who is waiting, but nothing is notified and no alert line is drawn. The per-game switches in Settings are still there. When the server is down the dock says so in one plain sentence and everything local keeps working. - Polling happens only while the Game Center page (or the dock) is active, with 15, 30, 60 then 120 second backoff after a miss. Nothing is polled when online play is off.
The longer version, including exactly what is and is not sent, is in docs/ONLINE-PLAY.md. The security stance is in SECURITY.md.
Testing
python3 -m pytest tests -q -p no:cacheprovider # the full suite, no network, no model
python3 tools/build_plugin.py # the bundle CI grades
node tests/table_ui_harness.cjs # the Desktop page's state machine
node tests/jackpot_overlay_harness.cjs # the over-chat slot cabinet
node tests/jackpot2_harness.cjs # the Jackpot v2 copy, its switch and the fit
node tests/jackpot2_look_harness.cjs # the Jackpot v2 tint, and the ink it keeps readable
node tests/slot_fit_regression.mjs # the cabinet fits the page, in real headless Chrome
scripts/test.sh # the build, every harness, the fit check and pytest
CI runs the pytest suite and the four node harnesses on every push; the fit regression needs Chrome. The suite is offline: no model, no network, no GPU. TESTING.md breaks down every suite and its count; VERIFY.md lists the claims each run proves.
Limits
The short list: no private rooms, no kick and no room bans; people are never rated; online play is off by default and is someone else's server; Hint is narrow by design; lessons are not adaptive. The full, blunt list is in LIMITS.md.
Contributing
Bug reports, small focused fixes and new ideas are welcome. Start with CONTRIBUTING.md and CODE_OF_CONDUCT.md; the issue templates are in .github/ISSUE_TEMPLATE. Report security problems privately through GitHub's Report a vulnerability form, never in a public issue.
Adding your own game
The short version is below; the full guide, including the external kind for a game with its own Desktop screen, is docs/ADD-YOUR-GAME.md. A complete example plugin lives in examples/hello-game.
A game is a folder with game.json and a game.py:
{
"id": "nim",
"schema_version": 1,
"plugin_id": "my-nim",
"title": "Nim",
"summary": "One sentence for the card.",
"entry": "game.py",
"factory": "create",
"bots": false,
"kind": "table"
}
def create(root, settings):
return Game()
class Game:
def command(self, raw, *, source, complete=None, player=None) -> str:
return "..."
source is command when a person typed it and tool when a model called it. player is who typed it (id, name, platform, bot), or None from a tool. complete(prompt) asks Hermes for one reply — use it only for wording, never to decide a move.
Do not register your own slash command: /games is the shelf and it routes to you. A two-seat game that only writes its rules can lean on kit.Table, which handles seats, turns, consent, saving, lessons and the built-in player.
License
MIT. See LICENSE.
Acknowledgements
- TextArena — MIT; the rules for Mafia, Liar's Dice, Prisoner's Dilemma and Blind Auction, vendored in
third_party/textarena/. - chessnut piece drawings — Apache-2.0, by Alexis Luengas; inlined into
desktop/plugin.js. - Chess openings — the lichess opening book data vendored under
vendor/chess-openings/. - Mixkit free slot sounds — recorded clips with a synthesised fallback.
Every licence and every deviation is recorded in THIRD-PARTY-NOTICES.md.
Built by KeyArgo · InovinLabs
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found






