Skip to main content

Pequeño juego de preguntas de cultura general realizado en Python

Project description

TrivialPy

alt text

TrivialPy es un juego de preguntas y respuestas desarrollado en Python; vamos, un Trivial Pursuit de toda la vida pero hecho en Python.
Versión: 0.0.6

Índice

Funcionamiento

Tres opciones en el menú principal:

  1. Jugar
  2. Reglas
  3. Salir

Jugar

Se inicia el juego de forma normal. Se pregunta por el nombre del jugador y se inicia el juego.

Introduzca su nombre: Pepe
¡¡Disfruta del juego Pepe!!

¿Preparado?
¿Listo?
¡Ya!

El dado ha sacado un 3
-------------------------

* Categoría: Historia *
¿Qué muro cayó en 1989?
A. Muro de Berlín
B. Muro de China
C. Muro de Adriano
D. Muro de Jerusalén
> Introduzca la opción correcta (A, B, C, D):

Reglas

Se muestran las reglas del juego.

Salir

Se sale del juego.

Reglas

Juego de un solo jugador.
Para ganar la partida el jugador debe de acertar 6 preguntas.
Se emplea un dado virtual (del 1 al 6) para decidir la categoría de la pregunta.
Se contará el tiempo en el que tarde el jugador en completar la partida (se mostrará en los detalles de la partida finalizada).
El jugador debe de elegir de entre una de las cuatro opciones; A, B, C, D.

Instalación

El proyecto se encuentra en la plataforma TestPiPy.
Escriba lo siguiente en su entorno Python:

pip install -i https://test.pypi.org/simple/ TrivialPy

Estructura

trivialpython/
├─ trivialpython/
│  ├─ __init__.py
|  ├─ preguntas.py
│  └─ main.py
├─ README.md
├─ LICENSE
└─ pyproject.toml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trivialpy-0.0.6.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trivialpy-0.0.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file trivialpy-0.0.6.tar.gz.

File metadata

  • Download URL: trivialpy-0.0.6.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for trivialpy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4a0bf760027a0167f7783c2de69e6659327f769f3172ea095d73be567bf93a0a
MD5 71eb76d215b6eb48dafcc167df09154d
BLAKE2b-256 f358ff54bb1549993a5d8e7707bf2cfb4ce013c6c9a703211d53695afe7a06c1

See more details on using hashes here.

File details

Details for the file trivialpy-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: trivialpy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for trivialpy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f09467944fdc69301c4b23eb6fca0eea1a8d29f9cda10cef38b273c13d026c
MD5 b3ad21804f9213b4618142cb25689d0c
BLAKE2b-256 a3c853b4743c4d578c7b667fc9e020dfb30ce82386cc04603cc4ad18b0db46bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page