hexgame — clients
Reference Hex game clients for the hexgame-server arena. Installing this package gives you the hexgame command with three subcommands:
hexgame random # uniformly random legal moves (smoke/stress test)
hexgame play # model-driven client (--model-name ...)
hexgame gui # pygame GUI model client (requires the [gui] extra)
Install
pip install hexgame # random/model clients (websockets only)
pip install "hexgame[gui]" # also the pygame GUI
hexgame only depends on websockets (and pygame for the GUI extra). It does not pull in FastAPI/uvicorn — install hexgame-server separately if you want to host your own arena.
Quick start
By default the clients connect to the hosted arena wss://hexgame.codingdojo.ai:
hexgame play --model-name model_random --board-size 7
hexgame gui --model-name human --board-size 7
Point at your own server with --server:
hexgame gui --server ws://127.0.0.1:8000 --model-name human --board-size 7
You can also play directly in the browser at https://hexgame.codingdojo.ai/play —
no installation needed. The browser play page supports human vs human matchmaking,
an in-browser DQN bot (greedy / minimax / MCTS), and an in-browser AlphaZero bot.
See the main repository README for the full client documentation, model authoring guide, replay log format, and WebSocket protocol.
Metadata
Release files for hexgame 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hexgame-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for hexgame-0.4.3-py3-none-any.whl |
Release files / hexgame-0.4.3-py3-none-any.whl
| Download URL | hexgame-0.4.3-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da13fa3d7ce0db5e3530b37e824d269ec65b6d88c1f7fbcde5b11a5b6be79199
|
|
BLAKE2b-256 checksum How to use checksums |
1cf4b8223245de3b2a611b8db3e9d31fb11ce313b43106d5597d31bda0d96253
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for hexgame 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.