> For the complete documentation index, see [llms.txt](https://help.chatlyai.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.chatlyai.app/products-and-features/ai-games.md).

# AI Games

Make playable browser games from a prompt.

**AI Games** makes playable browser games from a prompt, like a snake game, a brick breaker or a runner. Games are built in the same builder as websites, so you can play them, change them in chat and publish them.

## Make a game

1. On the Chatly home page, click **AI Games** in the **Startup** row.

![AI Games in the Startup row on the home page](https://3503370835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOHDPAn3RzU7mRQrMH1UK%2Fuploads%2FgXfMorViOLtFNitu7Yeg%2Fch-nav-games.webp?alt=media)

2. AI Games starts a new game project straight away with a ready-made brief, so it uses credits as soon as you click it. You can also describe a game on the **Sites** page.
3. Chatly builds the game and shows it next to the chat. Use **Preview** to play it and **Code** to see the code behind it.
4. Ask for changes in the chat, for example *"Make it faster after every level"* or *"Add a high score."*
5. Click **Publish** to put your game online. Changes are applied when you publish again.

## Modes

Like websites, games can be built in **Build** or **Plan** mode, at **Eco**, **Balanced** or **Max** speed. On the Free plan, **Balanced** and **Max** need an upgrade. See [AI Website (Startup)](https://help.chatlyai.app/products-and-features/ai-website-startup/how-to-use-startup.md).

## Find your games

Your games are listed under **Recents** in the sidebar and in **Artifacts** under **Websites**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.chatlyai.app/products-and-features/ai-games.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
