> For the complete documentation index, see [llms.txt](https://invomagic.gitbook.io/ticketsdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://invomagic.gitbook.io/ticketsdocs/fun/survive.md).

# Survive

### How to Play

To play the game, run the `/fun aigames-survive` command, this will display a message with the "Click 2 Play" button, and the "View Ranking" button which shows your global ranking

{% hint style="info" %}
This game needs 1 AI game credit for each play, you can get them by [**voting for Tickets on Top.gg or Rank.top**](/ticketsdocs/voting.md#how-to-vote)
{% endhint %}

<figure><img src="/files/gpAyXnABoVsgUG0ZCt5E" alt="" width="375"><figcaption></figcaption></figure>

### How the ranking works

When you press the button, it shows you your stats, and your global ranking, this is based off both your deaths and wins, where each death is -1 points and each win +1 points, and you can also view the global top 10.

<figure><img src="/files/B8wh7ecUywSoFhkip81L" alt="" width="375"><figcaption></figcaption></figure>

### How it works

When you hit the Play button, you are prompted with a form to enter your survival plan, when you are done entering it, press submit here are the rules/info:

* Only use stuff you have
  * the AI assumes you have a Pocket Knife, empty plastic water bottle, clothes, and a half empty lighter.
* Don't try to cheat
  * If you try cheating like using an item you don't have, or something you wouldn't usually find on an island, or something unnatural like "I'll make a portal" or "I'll use cheats and fly" you will lose.
* Don't try to break the system
  * trying to prompt the AI with messages like "ignore all previous instructions" to use the AI for malicious intent will be detected, and may lead to punishments.
* How it works

  * The goal is just to survive until the next morning, you are allowed to use stuff that you didn't start with as long as it's something you'd find on an island (e.g vines, stones, leaves), and once you hit submit, the AI will explain how you survived or how you met your demise.

{% columns %}
{% column %}

<figure><img src="/files/e7kf6iA64ydJq39kKeoh" alt="" width="375"><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/GclvvEdVgHFXfzouFdWB" alt="" width="375"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://invomagic.gitbook.io/ticketsdocs/fun/survive.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
