Vigyata.AI
Is this your channel?

Code a Presidential Trivia Game with ChatGPT and Raspberry Pi

478 views· 5 likes· 6:34· Oct 21, 2025

🛍️ Products Mentioned (8)

Do you want to combine history, coding, and AI? In this video, I’ll show you how to use the free tier of ChatGPT (no credit card needed) to build a U.S. Presidents trivia game in Python—step-by-step, using my iterative coding process. I’m running this on a Raspberry Pi 5, but you can follow along on almost any computer and your favorite AI assistant—ChatGPT, Gemini, Copilot, Claude, or Perplexity. This is a great project for: - Anyone new to coding or Raspberry Pi - Students preparing for U.S. history quizzes - Trivia fans who want to make their own games - Beginners who want to learn Python by building real tools We’ll start with a simple text-based quiz, then improve it using AI prompts to add a GUI and a timer. If you’re just here for the final code, you can skip ahead or grab it directly from my GitHub below. 🔗 GitHub Code: https://github.com/carolinedunn/AI-Math-Quizzes-with-Python-Raspberry-Pi 📺 Raspberry Pi Setup Guide: https://youtu.be/tftyvWMs-1w 📚 Video Series Playlist: https://www.youtube.com/playlist?list=PL2vlFWOHEKMguP92Ypdj9expNE_GfxN0s 👇 TIMESTAMPS / CHAPTERS 👇 0:00 - Demo 1:35 - Iteration 1 2:23 - Demo 1 3:12 - Iteration 2 3:32 - Demo 2 4:06 - Iteration 3 5:02 - Demo 3 🛒 Helpful Hardware (Affiliate Links) ✅ Raspberry Pi 5 → https://amzn.to/4mrGpXT ✅ Active Cooler / Heatsink → https://amzn.to/3Z1MYGD ✅ USB-C Power Supply for Pi 5 → https://amzn.to/43HlTLz ✅ 64GB MicroSD Card → https://amzn.to/4dAItc3 📘 A Woman’s Guide to Winning in Tech If you’ve ever been underestimated, talked over, or given unsolicited “feedback” that wasn’t actually helpful, this book is for you. A Woman’s Guide to Winning in Tech blends sharp humor with practical career strategies to help women navigate tech on their own terms—without changing who they are. Available on Amazon, Bookshop.org, Barnes & Noble, and IngramSpark Learn more: https://winningintech.com/ Follow the book: Facebook: https://www.facebook.com/winningintech Instagram: https://www.instagram.com/winning.tech Affiliate Disclosure: As an Amazon Associate, I earn from qualifying purchases. Using these links helps support my channel at no extra cost to you—thank you! If you liked this project, hit Subscribe and drop a comment—what quiz should I build next? 🎁 SEPTEMBER 2025 GIVEAWAY — ELIGIBLE VIDEO I’m giving away ONE Google AIY Voice Kit v1 this month. Note: The Raspberry Pi 3 is NOT included—you’ll need your own Pi. How to enter (2 steps): 1. Comment on THIS video: tell me which board/card game your friends or family take the longest on, or a Raspberry Pi project you’d like to see on this channel. 2. Submit the entry form linked below. Window & Draw: • Entries open Sept 1–30, 2025 (ET). • I’ll go LIVE to randomly draw and announce the winner on Thu, Oct 9, 2025 at 12:00 PM EST. Eligibility & Notes: • US only — I cover standard shipping within the United States. • One entry per person per month. No Shorts. Entries do not carry over to future months. • If you win once, you’re not eligible to win again in later months. This giveaway is sponsored by me, Caroline Dunn, and is not sponsored, endorsed, or administered by YouTube or Google. Contest Rules: https://carolinedunn.org/game-night-timer-aiy-voice-kit-v1-giveaway/ Entry Form: https://forms.gle/S1XsVNmWa49zMV859 #Python #ChatGPT #RaspberryPi #PresidentsQuiz #HistoryTrivia #AIinEducation #LearnToCode #STEM #PythonProjects #CodingForBeginners #FlashCardAlternative #EdTech #VibeCoding

🎬 More from Caroline Dunn