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

# KlayFlight.io

#### About KlayFlight

KlayFlight is a simple game that can be controlled using a mouse or touch, depending on your device. As the first game on KlayGames, it is designed to demonstrate how easy it is build games for KlayGames, as well as to promote KlayGames to its future users. It also serves as an excellent way to earn KLAYG, while playing a fun game.

![Opening Screen](/files/EVPvg0odKmQW8MRUEDBD)

#### Get Started

Create a username, with a password to join. &#x20;

You must set up a profile with a wallet address if you wish to withdraw your reward, as well as participate in Leaderboard.

Each game is free to play, until 10,000 KLAYG has been given out in rewards. Afterwards, it will cost 0.001\~1 KLAYG to play, depending on your pot. You must have KLAYG in your account to play at that point.

![Play Screen](/files/uPWnbUKPJ8Net8DBKIGG)

#### How to Play

User selects a desired character, and dodge obstacles on screen to earn KLAYG. &#x20;

Points are given as you pass each candles, or grab coins mid-flight. If you hit the ground, or a candle, the game is over.&#x20;

Every 30,000 points will reward you with 0.001 KLAYG until reward pool has been exhausted.

If you fail to reach 30,000 points within a round, you will not be rewarded.

#### Additional Rewards

You can also be rewarded for reaching high score on the Leaderboard! For this, you will be rewarded weekly. \
The amount of reward for making it on the Leaderboard will be the amount of tokens lost by those who did not make it.  However, a service charge of 27% will be applied to that amount, and with the upcoming update, you will be able to see the Leaderboard reward accumulate on the website.


---

# 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://klaygames.gitbook.io/klaygames/klayflight.io.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.
