# Board

This command allows you to configure you 8x8 grid board so that you can play battleship with your friends on Discord! This is by far the most complicated command, and will take some time to get used to.

```
l+board
l+board po [ship] [direction] [A-H] [1-8]
l+board clear
```

## Usage 1

Using `l+board` will have the bot DM you your board. If you just started, it's probably empty, but don't worry! If you're in a game, the bot will DM you an empty grid and then your board. The empty grid will be used to keep track of the shots you make.

## Usage 2

Placing your ships on the board is probably the most difficult part of the game. Using the position argument (abbreviated as "po"), you can then specify which ship you would like to place, the direction it faces, and the coordinates.

You can choose from:

* fighter \[f] x1
  * 2 blocks
* light-frigate \[lrf] x2
  * 3 blocks
* heavy-frigate \[hmf] x1
  * 4 blocks
* destroyer \[d] x1
  * 5 blocks

There are four directions that are accepted:

* left
* right
* up
* down

The letters A-H are used to represent the rows of the board, and the integers 1-8 are used for the columns. The ship is placed at the square specified, and then extended in the direction you specified until it spans the correct number of blocks to make it the kind of ship you specified.

{% hint style="danger" %}
Remember, you won't be able to modify the board while in a battleship game, so choose the positions wisely beforehand!
{% endhint %}

## Usage 3

If you ever mess up a placement, you'll have to reset your board completely. Your board is also automatically cleared after each battleship match since it doesn't make much sense to use the same board in another match.

{% hint style="success" %}
A method for randomly generating battleship boards is being worked on. This would present an option for the lazy players out there to skip placing the ships themselves.
{% endhint %}


---

# 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://lunaris.gitbook.io/lunaris/command-documentation/board.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.
