Metadata-Version: 2.3
Name: hundredandten-automation-naive
Version: 0.0.5
Summary: Naive strategy player for the game Hundred and Ten
Author: Seamus Lowry
License: MIT
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Dist: hundredandten-state>=0.0.6,<1.0.0
Requires-Dist: hundredandten-deck>=0.0.3,<1.0.0
Requires-Python: >=3.12
Project-URL: Repository, https://github.com/seamuslowry/hundred-and-ten
Project-URL: Source, https://github.com/seamuslowry/hundred-and-ten/tree/main/packages/hundredandten-automation-naive
Description-Content-Type: text/markdown

# hundredandten-automation-naive

Naive baseline automation strategy for the card game Hundred and Ten.

This package implements a simple rule-based player that operates entirely on [`GameState`](../hundredandten-state/) with no direct engine dependency. It accepts a `GameState` and returns an `AvailableAction` following a hard-coded strategy.

```python
from hundredandten.state import GameState
from hundredandten.automation import naive

# construct a game state
available_action = naive.action_for(game_state)
print(available_action)
```

## Exports

### `action_for(state: GameState) -> AvailableAction`

Returns the naive player's suggested action for the current game state. Covers all phases: bidding, trump selection, discard, and trick play.

This is the only public API. Pass it directly to `EngineAdapter.action_for` as the decision function.
