# How to play ?

This guide will help you understand the basic gameplay mechanics and controls so that you can dive right into the action. The game is a thrilling space adventure where your primary goal is to control your spaceship, dodge enemies, and survive as long as possible.

**Game Overview**

* **Objective:** Navigate your spaceship through a hostile environment, avoiding or destroying enemies that appear on the map.
* **Endgame:** If your ship collides with an enemy, your ship will be destroyed, and the game ends.

**Controls**

* **Directional Movement:** Use the directional cross (arrow keys on your keyboard) to maneuver your spaceship. You can move up, down, left, and right.

**Player Representation**

* **Your Ship:** The player's spaceship is the primary vehicle you control in the game. It's designed to be agile and responsive to your commands.

<figure><img src="/files/0ZWLPg3JmA7twDYRLwAl" alt=""><figcaption><p>PLAYER 1</p></figcaption></figure>

<figure><img src="/files/0ax3pji8x3a26n8UfLNG" alt=""><figcaption><p>PLAYER 2</p></figcaption></figure>

<figure><img src="/files/5kH2laBfG6njWTgZYdzY" alt=""><figcaption><p>PLAYER 3</p></figcaption></figure>

<figure><img src="/files/onXtRcmB6IS6KWQaXHIT" alt=""><figcaption><p>PLAYER 4</p></figcaption></figure>

<figure><img src="/files/cHQK24mpfyyIXf4Ej0cS" alt=""><figcaption><p>PLAYER 5</p></figcaption></figure>

**Enemy Representation**

* **Enemy Ships:** Enemies in R-Type come in various forms, but they all pose a threat to your spaceship. Your goal is to either avoid them or destroy them before they can damage your ship.

<figure><img src="/files/UTRAwTzV972BrkFyCbii" alt=""><figcaption><p>ENEMIE 1</p></figcaption></figure>

<figure><img src="/files/NhJVjwIvIpz7Vgu1nMPb" alt=""><figcaption><p>ENEMIE 2</p></figcaption></figure>

**Gameplay Tips**

1. **Stay Alert:** Keep an eye out for enemy ships that appear randomly on the map.
2. **Master the Controls:** Practice moving your spaceship smoothly using the directional controls. Quick reflexes are key.
3. **Plan Your Moves:** Anticipate enemy movements and plan your path accordingly. Avoiding an enemy is better than trying to destroy it so only dodge skill here.

### Acessibility

1. Sound control
2. Pause / Play
3. Actual direction text
4. Score
5. Alert when enemy get closer

Enjoy your journey in R-Type !


---

# 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/setup-guidelines/how-to-play.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.
