Skip to content

smeriwether/recquiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recquiz

A terminal-based Quiz game. Comes with a few built-in quizzes and the ability to generate your own quiz with just a few words.

Prerequisites

  1. Python & uv installed
  2. OpenAI API Key loaded in the OPENAI_API_KEY environment variable.

Optional

  1. Use the RECQUIZ_GAME_DATA_FILE_PATH environment variable to point to a file containing initial game state.

How to run

uv run play.py

How to run the tests

uv run pytest test_play.py

Game play

Screenshot 2025-05-22 at 4 33 59 PM

About

A terminal-based quiz game

Resources

Stars

Watchers

Forks

Languages