# flatland3

Terminal MMORPG client for [Flatland3](https://github.com/bvelasquez/flatland3).

## Install

```bash
cargo install flatland3
```

## Quickstart

```bash
flatland3 auth register --email you@example.com --password '…' --name You
flatland3 auth login --email you@example.com --password '…'
flatland3 --name traveler
```

Set `FLATLAND_API_URL` if the control plane is not on `http://127.0.0.1:7380`.
Game server defaults to `127.0.0.1:7373` (`--server` to override).

## Crates.io stack

| Crate | Role |
|-------|------|
| `flatland-protocol` | Wire types and codecs |
| `flatland-client-lib` | TCP session, bots, game state |
| `flatland-tui` | Ratatui rendering |

Server binaries (`flatland-server`, control plane) are **not** published.

## Monorepo dev

Embedded server + bots (private `flatland-dev` crate):

```bash
cargo run -p flatland-dev -- --bots 4
```
