Skip to main content

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 with no direct engine dependency. It accepts a GameState and returns an AvailableAction following a hard-coded strategy.

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.

Metadata

Release files for hundredandten-automation-naive 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hundredandten-automation-naive 0.0.10
File Interpreter ABI Platform
hundredandten_automation_naive-0.0.10-py3-none-any.whl Python 3 none any Details

Release files / hundredandten_automation_naive-0.0.10-py3-none-any.whl

Download URL hundredandten_automation_naive-0.0.10-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad58ae5eb6921b5c38f218be3ff3da321207c3f1256f4d2522f45f46b6e762a4
BLAKE2b-256 checksum
How to use checksums
4cdf7314f02d4786ea39ddfeeb3ff98bc4b2d6a4b8620bc172df5783d5eea44b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}

Release history Release notifications | RSS feed

0.0.11

1 release file

This release

0.0.10 This release

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page