vibewarz game engines — pure Python implementations of Curve, Poker, Blast, and Vibelords
Project description
vibewarz-games
Pure-Python authoritative game engines for vibewarz.
pip install vibewarz-games
Each game is a Game subclass with a pure step(state, actions) -> StepResult. Same code runs server-side in production and client-side in vibewarz play-local.
from vibewarz_games import GAMES
curve = GAMES["curve"]()
state = curve.initial_state(seed=42, num_players=4)
result = curve.step(state, {0: {"turn": "LEFT"}, 1: {"turn": "STRAIGHT"}, 2: {}, 3: {}})
print(result.state)
Games
| id | min/max players | description |
|---|---|---|
curve |
2/8 | Light-cycle / Achtung die Kurve — turn left/right/straight, don't hit walls or trails |
poker |
2/9 | Texas hold'em, no-limit tournament format |
blast |
2/4 | Drop bombs, dodge explosions, last bot standing wins |
Each game page has the full state shape, action format, and timing budget your bot needs. The wire-format protocol that wraps them lives in PROTOCOL.md.
License
MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vibewarz_games-0.2.8.tar.gz.
File metadata
- Download URL: vibewarz_games-0.2.8.tar.gz
- Upload date:
- Size: 82.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
046870f234d375d396b8efb831c44568a4809771e1051bded7bddc18839009bc
|
|
| MD5 |
2342abb606ed65dd8c63e92bba844a98
|
|
| BLAKE2b-256 |
bbc716a760a142ec3c7a3b7a3de08bb82f232b50659984b55fc2d373c672b0f6
|
File details
Details for the file vibewarz_games-0.2.8-py3-none-any.whl.
File metadata
- Download URL: vibewarz_games-0.2.8-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f424355d7dd3e1387d7f12f4687c5963c3e9e277810d35801832769d1c7f87b
|
|
| MD5 |
f7c1f9f36144500969d534018386756a
|
|
| BLAKE2b-256 |
20a7238cd1eeda16caa52d910d9ad826038b64db203923fa6a27e13942cbf782
|