Skip to main content

naipes

Juegos de cartas españolas en línea de comandos. La versión 0.1.0 incluye brisca. Futuras versiones añadirán tute, mus y más, bajo el mismo paquete.

Instalación

pip install naipes

Uso

naipes                       # ayuda
naipes list                  # lista juegos disponibles
naipes rules brisca          # reglas resumidas
naipes play brisca           # jugar contra la IA
naipes play brisca --seed 42 --ai-level easy

Comandos durante la partida: 1, 2, 3 para jugar una carta de tu mano; q para salir; ? para ver ayuda.

Determinismo

naipes usa un PRNG xorshift64* con valores idénticos en todas las implementaciones del proyecto (Python, JavaScript, Ruby, Rust, etc.). Misma semilla = misma partida exacta, en cualquier lenguaje.

naipes play brisca --seed 42 --ai-level normal

Esta partida produce exactamente el mismo resultado en cualquier port del proyecto. Esto permite reproducir bugs y compartir partidas memorables.

Especificación

Las reglas exactas, el protocolo CLI y los vectores de prueba están en spec/SPEC.md. Todos los ports deben pasar el mismo conjunto de vectores.

Licencia

MIT.

Metadata

Release files for naipes 0.1.0

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

Source distribution (sdist)

Source distribution for naipes 0.1.0
File Size Uploaded Provenance Actions
naipes-0.1.0.tar.gz 14.3 kB Without provenance Details for naipes-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for naipes 0.1.0
File Interpreter ABI Platform Actions
naipes-0.1.0-py3-none-any.whl Python 3 none any Details for naipes-0.1.0-py3-none-any.whl

Total release size: 30.8 kB

Release files / naipes-0.1.0.tar.gz

Download URL naipes-0.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
990f806a048c18c97849b523fefe15b77605e368e050bf828945570c8c2d56da
BLAKE2b-256 checksum
How to use checksums
d4b7bbe38574a827cc31cfc7befbeb75741ab479bc46279d5faf326f2be63721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / naipes-0.1.0-py3-none-any.whl

Download URL naipes-0.1.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bac13318f4d4ebe54f8d6c492484eefa05bc3112bfddc46f17209aeca13735f
BLAKE2b-256 checksum
How to use checksums
c1e0c360e0cafc03ae43a70f21a7aee86faeb42434ce1842dfc1f834f0b56ead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for naipes 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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