# RFC

### 📡 State Update

* **Code:** `200`
* **Description:** Standard operation for successful state updates. This code is used when the server successfully sends the current game state to the client.

### 🕹️ Input

* **Code:** `210`
* **Description:** Used for client-initiated actions. This code indicates that the client's input action has been successfully received and processed.

### 🆕 New Entity

* **Code:** `220`
* **Description:** Indicates the creation of a new entity in the game. This code is sent when a new entity (like an enemy or an item) is successfully created and added to the game world.

### 💥 Game Over

* **Code:** `400`
* **Description:** Signifies a special event indicating the end of the game. This code is only sent to the client that died.

### ☠️ Entity Dead

* **Code:** 230
* **Description:** This code is used for special events where an entity in the game is dead or removed. It's a signal to all the clients that the entity is no longer active in the game.


---

# Agent Instructions: 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:

```
GET https://r-type-5.gitbook.io/r-type/development-guidelines/rfc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
