# Building an AI-Powered Game

**URL:** https://community.deeplearning.ai/c/short-course-q-a/building-an-ai-powered-game/492.md

[Latest](https://community.deeplearning.ai/latest.md) · [Categories](https://community.deeplearning.ai/categories.md) · [Tags](https://community.deeplearning.ai/tags.md)

---

## [Building an AI-Powered Game - L1: Hierarchical Content Generation (not working)](https://community.deeplearning.ai/t/building-an-ai-powered-game-l1-hierarchical-content-generation-not-working/894853)

<div class="topic-metadata">

**Author:** [@Joffrey\_Lion](https://community.deeplearning.ai/u/Joffrey_Lion)\
**Replies:** 3\
**Last updated:** [August 31, 2026, 2:59pm UTC](https://community.deeplearning.ai/t/building-an-ai-powered-game-l1-hierarchical-content-generation-not-working/894853 "2026-08-31T14:59:04Z")

</div>

Hi, Looks like there is still an issue with this notebook. Worlds are not generating and some bugs in the code. Looks like an interesting course but not able to follow like that. Thank you.

---

## [Two bugs in L4 notebook](https://community.deeplearning.ai/t/two-bugs-in-l4-notebook/892694)

<div class="topic-metadata">

**Author:** [@pang.luo](https://community.deeplearning.ai/u/pang.luo)\
**Replies:** 2\
**Last updated:** [June 10, 2026, 8:29pm UTC](https://community.deeplearning.ai/t/two-bugs-in-l4-notebook/892694 "2026-06-10T20:29:27Z")

</div>

I know this course was created a long time ago :grinning\_face: but if it is of help, there are two bugs in the L4 notebook. In run\_action we have world\_info = f""" World: {game\_state\['world'\]} Kingdom: {game\_state…

---

## [Is this course broken?](https://community.deeplearning.ai/t/is-this-course-broken/817886)

<div class="topic-metadata">

**Author:** [@nkimabot](https://community.deeplearning.ai/u/nkimabot)\
**Replies:** 17\
**Last updated:** [November 27, 2025, 11:12pm UTC](https://community.deeplearning.ai/t/is-this-course-broken/817886 "2025-11-27T23:12:30Z")

</div>

I’m new to the site. Trying to run the first activity in the built-in browser-based Jupyter Notebook I get this error on the third command. Is there something i’m missing? Am I supposed to set this up in an independent e…

---

## [InvalidRequestError at end of L2](https://community.deeplearning.ai/t/invalidrequesterror-at-end-of-l2/881637)

<div class="topic-metadata">

**Author:** [@jfalter](https://community.deeplearning.ai/u/jfalter)\
**Replies:** 3\
**Last updated:** [November 27, 2025, 8:22pm UTC](https://community.deeplearning.ai/t/invalidrequesterror-at-end-of-l2/881637 "2025-11-27T20:22:27Z")

</div>

While working through L2, I ran into and fixed the tools and max\_token parameter errors already described in some other posts. After those are fixed I’m running into another error at the end of L2 (although it also occu…

---

## [Another bug - APIError: Error code: 422 "Tokens must be \<= 8193"](https://community.deeplearning.ai/t/another-bug-apierror-error-code-422-tokens-must-be-8193/819714)

<div class="topic-metadata">

**Author:** [@DavAlPi](https://community.deeplearning.ai/u/DavAlPi)\
**Replies:** 4\
**Last updated:** [November 27, 2025, 8:21pm UTC](https://community.deeplearning.ai/t/another-bug-apierror-error-code-422-tokens-must-be-8193/819714 "2025-11-27T20:21:26Z")

</div>

I’m trying to take this course but I ran into another bug, I think. First, I got stuck on this error: . . . InvalidRequestError: Error code: 400 See this other post: Is this course broken?. This first error is overc…

---

## [Is it possible to adjust this course to be completable now?](https://community.deeplearning.ai/t/is-it-possible-to-adjust-this-course-to-be-completable-now/883911)

<div class="topic-metadata">

**Author:** [@pg324](https://community.deeplearning.ai/u/pg324)\
**Replies:** 5\
**Last updated:** [November 26, 2025, 10:41pm UTC](https://community.deeplearning.ai/t/is-it-possible-to-adjust-this-course-to-be-completable-now/883911 "2025-11-26T22:41:55Z")

</div>

I’ve been meaning to use this course in a class I’m teaching soon, but ran into the errors that have been documented in previous threads. Since the answer was “the model used in the course is deprecated”, I tried to repl…

---

## [Giving module error](https://community.deeplearning.ai/t/giving-module-error/791035)

<div class="topic-metadata">

**Author:** [@Flust3r](https://community.deeplearning.ai/u/Flust3r)\
**Replies:** 8\
**Last updated:** [April 30, 2025, 8:39am UTC](https://community.deeplearning.ai/t/giving-module-error/791035 "2025-04-30T08:39:22Z")

</div>

from together import Together from helper import get\_together\_api\_key,load\_env client = Together(api\_key=get\_together\_api\_key()) output = client.chat.completions.create( model=“meta-llama/Llama-3-70b-chat-hf”, messa…

---

## [How did I become a billionaire in Luminaria?](https://community.deeplearning.ai/t/how-did-i-become-a-billionaire-in-luminaria/725639)

<div class="topic-metadata">

**Author:** [@Attila\_Ambrus](https://community.deeplearning.ai/u/Attila_Ambrus)\
**Replies:** 5\
**Last updated:** [April 26, 2025, 12:24pm UTC](https://community.deeplearning.ai/t/how-did-i-become-a-billionaire-in-luminaria/725639 "2025-04-26T12:24:58Z")

</div>

How did I become a billionaire in Luminaria? :coin: :gem: :coin:

---

## [Together AI Dungeon documentation](https://community.deeplearning.ai/t/together-ai-dungeon-documentation/727130)

<div class="topic-metadata">

**Author:** [@David\_Bosak](https://community.deeplearning.ai/u/David_Bosak)\
**Replies:** 1\
**Last updated:** [November 24, 2024, 10:18pm UTC](https://community.deeplearning.ai/t/together-ai-dungeon-documentation/727130 "2024-11-24T22:18:04Z")

</div>

Hello, does anyone know where to find published documentation for this? I can’t find anything on Together.ai or Ai Dungeon with further tutorials/how-to guides etc. on how to create AI powered game. Many thanks!
