Skip to content

Enrique1010/TriviaGamePy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trivia CLI Game Python

This is a simple trivia game that you can play in the command line. It uses the Open Trivia Database API to get the questions and answers. The game will ask you between 3/6 questions and at the end of the game, it will show you your score.

Installation

  1. Clone the repository
  2. Install the requirements with poetry
poetry install
poetry update
  1. Run the game
poetry run python app.py

Usage

The game will ask you about the difficulty. You can choose between easy, medium, and hard. Then it will ask you about the category. You can choose between multiple categories. After that, the game will start asking you questions. You can answer by typing the number of the answer. At the end of the game, it will show you your score.

License

No license

About

A simple cli app to play trivias using aiohttp and pytest unit testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages