# Battleship!

Probably one of the most exciting functionality Lunaris has to offer, this command enables you to start a game of battleship with anyone on a server!

Start a game with another player using example 1. To attack a square, see example 2. The grid system uses letters A-H to represent the rows, and integers 1-8 to represent the columns.

```
l+btlship start @player
l+btlship a [A-H][1-8]
l+btlship quit
```

{% hint style="danger" %}
Keep in mind that you can only start a game if you both you and your chosen opponent have configured boards! If you don't know how to do this, see the previous page about the board command.
{% endhint %}

{% hint style="warning" %}
Remember, if you quit the game, you lose! Don't be a troll!
{% endhint %}

![A game of battleship. Developer vs. game designer](/files/-M66Z2NLsp14SxzSQ_II)

In the image, the top board is the board that records which squares you've fired on at your enemy. It records whether you hit or missed an enemy ship. The bottom board is you, where your ships are, where your enemy has fired, and where they've hit.


---

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

```
GET https://lunaris.gitbook.io/lunaris/command-documentation/battleship.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.
