You are browsing as a guest. Sign up (or log in) to start making projects!

Trivia Game

  • 1 Devlogs
  • 2 Total hours

I am building a command line trivia game in Python that runs locally on your device. It fetches real questions from a free API, shows them to you one at a time with 4 choices, takes your input, and tells you if you're right or wrong. At the end it shows your final score.

Ship #1 Pending review

What I Made
A command-line trivia game that fetches live questions from the Open Trivia Database API
and lets you compete for a spot on a local leaderboard.

What I'm Proud Of

Learning how to style terminal output bold text, colors, panels— using the Rich library.
It made the game feel way more polished than plain print statements.

What You Need to Know Before Testing

- You need an internet connection (questions are fetched live from an API)
- Scores save locally to leaderboard.json — don't delete it if you want to keep your scores
- Answer with the number next to your choice, not the text

You will need to look at the repo to see how to play this game

  • 1 devlog
  • 2h
Try project → See source code →
Open comments for this post

1h 39m 31s logged

Finished Coding The project! I post devlogs due to hackatime and stardance not syncing properly at some point.

Finished Coding The project! I post devlogs due to hackatime and stardance not syncing properly at some point.

Replying to @Justin-F

0
1

Followers

Loading…