Description
Python & C# Artificial Intelligence Game Development | Grades 6–12 | Middle & High School | Variables, Logic, Loops, ChatGPT, and Interactive Story Design | Code a Dungeon Game
Your students won’t just play the game—they’ll create the adventure!
Step into the future of storytelling with “AI-Powered Fantasy Adventures”, where middle and high school students become game designers, AI engineers, and digital dungeon masters all in one unforgettable lesson. In this hands-on coding project, students will use Python or C# to connect with a real generative AI (like ChatGPT) and build a dynamic dungeon crawler where every twist and turn is created on the fly by artificial intelligence!
No more hard-coded rooms and boring if-statements. With every player input, the AI invents new locations, characters, challenges, and choices—making each game as unique as the coder who builds it.
Whether you’re looking to supercharge your STEM, AI/ML, or creative tech curriculum, this engaging cross-curricular activity blends computer science, storytelling, and AI ethics into a project your students will beg to keep working on.
✅ What’s Included:
- Step-by-step lesson plan with learning standards & teacher guide
- Full code examples in Python and C# using OpenAI’s GPT API
- NEW! Starter PowerPoint deck covering entire lesson
- Editable student handouts, exercises & challenge extensions
- Instructions for setting up API access with free-tier options
- Assessment rubric and learning objectives
- "Prompt Engineering” guide to teach students how to talk to AI
- Real-world AI applications and ethical discussion questions
Skills Covered:
- Calling and interacting with generative AI APIs (GPT)
- Creative coding with live AI-generated content
- Game development logic and decision-making
- Prompt design and language modeling
- Ethics in AI and machine learning applications
Let your classroom imagination run wild with AI as your co-pilot! Your students will leave this lesson not just understanding code—but how to wield AI as a tool for creativity and innovation.
*Please refer to ChatGPT and OpenAI documentation for latest development specs in this fast-paced AI coding environment.
Check out our other AI lesson(s) below:
AI Curriculum Series: AI Unlocked From Curiosity to Code | TPT
Build an AI Chatbot Assistant with ChatGPT API (Python & C#) | TPT
See some of our other Python & C# lessons below:
Intro to Coding Curriculum | 8-Week Computer Science Course (Python & C#)
Code & Calculate: Python-Powered Math Adventure Series Curriculum Bundle
Halloween Python Coding Mini‑Unit | Grades 5-8 | STEM Lessons | TPT
Christmas Cookie Recipe Calculator — Python Coding Lesson | TPT
Puzzle Palooza: Building an Auto-Generating Random Word Puzzle in Python
Winter Snowflake Pattern Generator | Python Coding Lesson with Art
AI Haiku Masterclass: Bridging Coding & Poetry in Python and C# | TPT
Code a Real-World Q&A Chatbot! | Full-Stack C# & Python Project | TPT
Build a Helicopter Flight Simulator in Python & C# by Mr. Denney Teaches Code
Follow Us and Give Feedback!
Click the ★ to follow my store and get notified when new products and freebies become available. Did you know that you can receive credit toward future TpT purchases by reviewing this product? Each dollar you spend gives you one TpT credit! If you enjoy this product, please leave a positive review at the product page or through "My Purchases" under "My Account" at TpT.
Python & C# Game Development ChatGPT | Grades 9-12 | Variables, Logic, Loops
Highlights
Save even more with bundles
Description
Python & C# Artificial Intelligence Game Development | Grades 6–12 | Middle & High School | Variables, Logic, Loops, ChatGPT, and Interactive Story Design | Code a Dungeon Game
Your students won’t just play the game—they’ll create the adventure!
Step into the future of storytelling with “AI-Powered Fantasy Adventures”, where middle and high school students become game designers, AI engineers, and digital dungeon masters all in one unforgettable lesson. In this hands-on coding project, students will use Python or C# to connect with a real generative AI (like ChatGPT) and build a dynamic dungeon crawler where every twist and turn is created on the fly by artificial intelligence!
No more hard-coded rooms and boring if-statements. With every player input, the AI invents new locations, characters, challenges, and choices—making each game as unique as the coder who builds it.
Whether you’re looking to supercharge your STEM, AI/ML, or creative tech curriculum, this engaging cross-curricular activity blends computer science, storytelling, and AI ethics into a project your students will beg to keep working on.
✅ What’s Included:
- Step-by-step lesson plan with learning standards & teacher guide
- Full code examples in Python and C# using OpenAI’s GPT API
- NEW! Starter PowerPoint deck covering entire lesson
- Editable student handouts, exercises & challenge extensions
- Instructions for setting up API access with free-tier options
- Assessment rubric and learning objectives
- "Prompt Engineering” guide to teach students how to talk to AI
- Real-world AI applications and ethical discussion questions
Skills Covered:
- Calling and interacting with generative AI APIs (GPT)
- Creative coding with live AI-generated content
- Game development logic and decision-making
- Prompt design and language modeling
- Ethics in AI and machine learning applications
Let your classroom imagination run wild with AI as your co-pilot! Your students will leave this lesson not just understanding code—but how to wield AI as a tool for creativity and innovation.
*Please refer to ChatGPT and OpenAI documentation for latest development specs in this fast-paced AI coding environment.
Check out our other AI lesson(s) below:
AI Curriculum Series: AI Unlocked From Curiosity to Code | TPT
Build an AI Chatbot Assistant with ChatGPT API (Python & C#) | TPT
See some of our other Python & C# lessons below:
Intro to Coding Curriculum | 8-Week Computer Science Course (Python & C#)
Code & Calculate: Python-Powered Math Adventure Series Curriculum Bundle
Halloween Python Coding Mini‑Unit | Grades 5-8 | STEM Lessons | TPT
Christmas Cookie Recipe Calculator — Python Coding Lesson | TPT
Puzzle Palooza: Building an Auto-Generating Random Word Puzzle in Python
Winter Snowflake Pattern Generator | Python Coding Lesson with Art
AI Haiku Masterclass: Bridging Coding & Poetry in Python and C# | TPT
Code a Real-World Q&A Chatbot! | Full-Stack C# & Python Project | TPT
Build a Helicopter Flight Simulator in Python & C# by Mr. Denney Teaches Code
Follow Us and Give Feedback!
Click the ★ to follow my store and get notified when new products and freebies become available. Did you know that you can receive credit toward future TpT purchases by reviewing this product? Each dollar you spend gives you one TpT credit! If you enjoy this product, please leave a positive review at the product page or through "My Purchases" under "My Account" at TpT.








