Metadata-Version: 2.4
Name: vibewarz-games
Version: 0.2.1
Summary: vibewarz game engines — pure Python implementations of Curve, Poker, Blast
License: MIT
Keywords: arena,bot,game,vibewarz
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Games/Entertainment
Requires-Python: >=3.11
Requires-Dist: pokerkit<1.0,>=0.7
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# vibewarz-games

Pure-Python authoritative game engines for [vibewarz](https://vibewarz.com).

```bash
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`.

```python
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 cash-game format |
| `blast` | 2/4 | Drop bombs, dodge explosions, last bot standing wins |

See [the protocol doc](https://github.com/OmriGanor/vibewarz/blob/main/docs/PROTOCOL.md) for the per-game state shapes.

## License

MIT.
