> 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/klayworm.io.md).

# KlayWorm.io

#### About KlayWorm

Inspired by the popular web game, KlayWorm is a simple-to-play sidescroller with a crypto twist. As it is with KlayFlight, this game is highly addictive, and rewards users for earning points.  What is different, however, is the multiplayer aspect. In this game, user is faced with other users, all fighting for the final grand prize of KLAYG.

![In-game view](/files/m9Kbr5vt6WCJNSK0xOCG)

#### Get Started

You can get started right away by clicking/touching any part of the screen.

However, you must set up a profile with a wallet address if you wish to withdraw your reward, as well as participate in Leaderboard. In the current beta version, this is not supported yet.

The purpose of the game is to accumulate more score by eating candies, or by killing off opponents.  A worm dies when its head hits its own body, or other worms’ body.  By successfully evading other worms and trapping them into hitting other bodies, you can rack up scores and win!

#### How to Play

There are several ways to play, depending on the device you are using.  On a mobile device the functions are limited to make the controls simpler.

On a keyboard,&#x20;

**Q** - accelerate&#x20;

**W** - slow down

**E** - use invisibility skill

On a mouse,

**Left click** - accelerate

![Winning is simple - don’t die!](/files/DGCOGKGwvnYZ7XBL3baF)

#### Reward System

Every 30,000 points will reward you with 0.001 KLAYG. The game is free to play, unless the number of players in the game exceed the maximum number of free players. If the numbers exceed the maximum, it will cost 0.001\~1 KLAYG to participate in the game. The points (or KLAYG) taken from losing players are then distributed to winning players, with 27% of the winning used as fees.&#x20;

You can gain points by either by directly destroying other players (when they run into your body) or by taking a place within the Leaderboard.

In the current beta version the reward system is not active, and will be implemented in the future versions.


---

# 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/klayworm.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.
