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.8

Í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 PiPy.
Escriba lo siguiente en su entorno Python:

pip install 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.8.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.8-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trivialpy-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 26cf133e2f66ef057037082f8e830d8b93ba8983d9b6e957b3793b0d13562e89
MD5 3f258b5a54a6165eec89f6eae6895cc2
BLAKE2b-256 42e143f89f21aa5ce6745b4b40fbbcda92d8222f9af6f2e19d2009e15a3ff8f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trivialpy-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bd53e5be0ea9ea026600a944d36be2370c6e20b68aaee042e181a4205b98b337
MD5 ce4805bc95b929561b91db664aef1bb1
BLAKE2b-256 8732b995f4d5444e20fb78d97bacc78f6771d024897ea55fdb8a7423e36e661f

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