> For the complete documentation index, see [llms.txt](https://developer.rpggo.ai/dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.rpggo.ai/dev-docs/open-source-use-cases/2d-ai-town-with-v2-api.md).

# 2D AI Town with V2 API

{% hint style="info" %}
Before diving into this document, it is strongly recommended to read [here](/dev-docs/data-schema/understand-the-data-schema.md) to understand the relationships between games, scenes, goals, DMs, and NPCs.
{% endhint %}

> All interfaces require the application of an app ID and authentication. The specific process can be found [here](/dev-docs/support/apply-your-test-key.md)

Check out the implementation code here: <https://github.com/codingtmd/gamify-ai-town>. <br>

<br>

<figure><img src="/files/IByPH0LmOftgM0OBJ6gn" alt=""><figcaption></figcaption></figure>
