Building an AI-Powered Game
Instructors: Niki Birkner, Nick Walton
- Beginner
- 0 Hours 56 Minutes
- 6 Video Lessons
- 4 Code Examples
- Instructors: Niki Birkner, Nick Walton
What you'll learn
Learn LLM app development by designing and developing a text-based AI game, creating immersive game worlds, characters, and storylines through hierarchical content generation.
Learn to implement game mechanics using AI to convert text data into structured JSON outputs, enabling features like an inventory detection system.
Learn to enforce safety and compliance for AI content creation, and create custom policies using Llama Guard.
About this course
Join our new short course, Building an AI-Powered Game, with Together AI and AI Dungeon! Learn from Niki Birkner, Senior Product Manager at Together AI, and Nick Walton, CEO and Co-Founder of Latitude.
This course teaches you how to build a LLM-based application by creating your own AI-powered text-based game. You’ll create a world with hierarchical content generation based on a prompt, setting up its core mechanics, and giving it a simple Gradio user interface.
By the end of this course, you’ll have a playable text-based game to share with your friends, built from scratch using LLMs. You will be guided through the building blocks of app development using LLMs, including incorporating safeguards using Llama Guard.
What you’ll do:
- Use prompt engineering to create a world with hierarchical content generation so your narrative is consistent and the AI can flesh out your game.
- Build the first version of your game with a user interface, load the world, and define the core action loop of the game, so you can have a game to play and interact with.
- Implement safe user-dependent and context-dependent guardrails into your game application with Llama Guard and custom content policy.
- Learn LLM tool calling by adding story and state components that improve your game’s memory, track inventory, and show progress.
With these techniques, you’ll hone your AI skills by building your own sharable game!
Who should join?
Anyone who has basic Python knowledge and wants to learn how to build with LLMs in a hands-on, fun way!
Course Outline
6 Lessons・4 Code ExamplesIntroduction
Video・2 mins
Hierarchical Content Generation
Video with code examples・12 mins
Interactive AI Applications
Video with code examples・7 mins
Moderation & Safety
Video with code examples・11 mins
Implementing Game Mechanics
Video・12 mins
Conclusion
Video・9 mins
Appendix – Tips, Help, and Download
Code examples・1 min
Instructors
Niki Birkner
Product Manager at Together AI
Nick Walton
CEO and Co-Founder of Latitude
Building an AI-Powered Game
- Beginner
- 0 Hours 56 Minutes
- 6 Video Lessons
- 4 Code Examples
- Instructors: Niki Birkner, Nick Walton
Course access is free for a limited time during the DeepLearning.AI learning platform beta!
Want to learn more about Generative AI?
Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!