← All Workshops

MudEngine Part 1: Requirements

Step 11 / 22

Install tix-tracker (tix)

tix is a kanban-style issue tracker that lives entirely in your repository — issues are plain Markdown + YAML frontmatter files. There is no database and no server: a terminal UI (TUI) and a full CLI bundled in one Rust binary.

Install it now. Once our mud-engine project exists, a small script will seed it with one pre-made issue per workshop chapter — no manual issue creation needed.

Install tix-tracker
cargo binstall tix-tracker
📖 What is tix?

tix stores every issue as a file like docs/issues/part-01-requirements.md:

---
number: 1
title: Part 1 — Requirements
status: todo
priority: high
labels:
  - workshop
created: 2026-09-19
updated: 2026-09-19
---

Because issues are plain files in your repo, they version alongside your code and stay readable by anything that understands Markdown.

Useful commands:

  • tix init — create a default tix.toml (board columns, issues directory)
  • tix list — all issues in a table
  • tix status — board summary (column → count)
  • tix view <issue> — show a full issue
  • tix move <issue> <column> — move an issue between columns
  • tix — open the kanban TUI (arrows / h-l, j/k, Enter, n)

The board itself is configured by a tix.toml at the repository root.

init_tix.sh
#!/usr/bin/env bash
# Seed a mud-engine project with one tix issue per workshop chapter.
#
# Usage: ./init_tix.sh [TARGET_DIR]
#
#   TARGET_DIR defaults to the current directory. Creates `tix.toml` and
#   `docs/issues/` inside TARGET_DIR; existing issue files are overwritten.
#   Run it from the mud-engine project root once the project exists.
set -euo pipefail

TARGET="${1:-.}"

mkdir -p "$TARGET/docs/issues"

cat > "$TARGET/tix.toml" <<'TOML'
issues_dir = "docs/issues"
[kanban.default]
columns = [
    "todo",
    "in progress",
    "in review",
    "done",
]
done_column = "done"
hidden_columns = []
show_mismatch = false

[export]
TOML

cat > "$TARGET/docs/issues/part-01-requirements.md" <<'TIXISSUE'
---
number: 1
title: Part 1 — Requirements
status: todo
priority: high
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Install the toolchain (rustup, WASM target, Clippy, dx, jj, mise) and scaffold
the mud-engine project. Prove the app runs in the browser.

- [ ] Toolchain installed and verified
- [ ] `dx new mud-engine` scaffolded
- [ ] jj initialized
- [ ] `dx serve` renders the app
TIXISSUE

cat > "$TARGET/docs/issues/part-02-repl.md" <<'TIXISSUE'
---
number: 2
title: Part 2 — Single-Player REPL
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Build a text-only MUD in the terminal: the `World` model and the REPL loop.

- [ ] `World` model with rooms
- [ ] REPL command loop
- [ ] Moving between rooms works
TIXISSUE

cat > "$TARGET/docs/issues/part-03-world-file.md" <<'TIXISSUE'
---
number: 3
title: Part 3 — File-Based World Loading
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Move the world from hardcoded Rust into a data-driven `Game.toml` file.

- [ ] `Game.toml` created
- [ ] Loader parses the world file
- [ ] Game plays identically to Part 2
TIXISSUE

cat > "$TARGET/docs/issues/part-04-dioxus.md" <<'TIXISSUE'
---
number: 4
title: Part 4 — Single-Player Dioxus GUI
status: todo
priority: high
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Replace the REPL with a Dioxus GUI: world grid, room description, direction
pad, and command input.

- [ ] Grid component renders the world
- [ ] Clickable rooms + direction pad
- [ ] Command input wired up
- [ ] Tailwind styling applied
TIXISSUE

cat > "$TARGET/docs/issues/part-05-components.md" <<'TIXISSUE'
---
number: 5
title: Part 5 — Polished UI with dioxus-components
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Swap hand-rolled markup for the `dioxus-components` library: cards, buttons,
and global keyboard shortcuts.

- [ ] `dioxus-components` dependency added
- [ ] Description wrapped in a Card
- [ ] Custom `RoomCell` and direction pad
- [ ] Global keyboard shortcuts
TIXISSUE

cat > "$TARGET/docs/issues/part-06-multiplayer.md" <<'TIXISSUE'
---
number: 6
title: Part 6 — Multiplayer
status: todo
priority: high
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Add online play: name screen, WebSocket server, player sidebar, and live room
updates.

- [ ] Fullstack server + WebSocket endpoint
- [ ] Random name generator
- [ ] Player sidebar with everyone online
- [ ] Rooms update live for all players
TIXISSUE

cat > "$TARGET/docs/issues/part-07-save-load.md" <<'TIXISSUE'
---
number: 7
title: Part 7 — Save & Load
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Persist the world: snapshot world and player state to disk and load it back.

- [ ] `Players.toml` (gitignored) for save data
- [ ] Snapshot / load functions
- [ ] Server state replaced with persisted state
- [ ] Autosave every minute
TIXISSUE

cat > "$TARGET/docs/issues/part-08-inventory-chat.md" <<'TIXISSUE'
---
number: 8
title: Part 8 — Inventory & Chat
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Give players items (take/drop) and a chat channel to talk in.

- [ ] Items defined in `Game.toml`
- [ ] Take / drop interactions
- [ ] Chat messages broadcast to the room
- [ ] Items persisted in snapshots
TIXISSUE

cat > "$TARGET/docs/issues/part-09-quest.md" <<'TIXISSUE'
---
number: 9
title: Part 9 — The Twin Guardians
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

A cooperative quest: solve a puzzle with a partner to unlock the vault.

- [ ] Quest data and the Vault added to `Game.toml`
- [ ] Quest state persisted
- [ ] Server quest logic
- [ ] Quest UI in the Game component
TIXISSUE

cat > "$TARGET/docs/issues/part-10-desktop.md" <<'TIXISSUE'
---
number: 10
title: Part 10 — Desktop with Blitz
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Run the game as a native desktop app with the Blitz (WGPU) renderer.

- [ ] `dioxus-native` dependency added
- [ ] Launch from `main.rs` with `dioxus::LaunchBuilder`
- [ ] Window configured
- [ ] Desktop client runs alongside the web version
TIXISSUE

cat > "$TARGET/docs/issues/part-11-p2p.md" <<'TIXISSUE'
---
number: 11
title: Part 11 — Peer-to-Peer with iroh
status: todo
priority: medium
labels:
    - workshop
created: 2026-09-19
updated: 2026-09-19
---

Cut out the central server and connect players peer-to-peer with iroh.

- [ ] iroh P2P dependencies added
- [ ] Engine made transport-agnostic
- [ ] Join handshake works
- [ ] WASM stub in place for the browser
TIXISSUE

count="$(find "$TARGET/docs/issues" -name "*.md" -type f | wc -l)"
echo "Seeded $count tix issue files into $TARGET/docs/issues/"
echo 'Run `tix list` (or `tix` for the board TUI) to see your chapters.'
📅 Project management during the workshop (optional)

Using tix is entirely optional — but it is a great way to practise project management while you build the MUD. You get one pre-made issue per workshop chapter, so there is nothing to set up by hand. Save the installer above as bin/init_tix.sh in your mud-engine project, then run it once the project exists (right after scaffolding):

bash bin/init_tix.sh

This writes a tix.toml and copies the 11 chapter issues into docs/issues/.

Check your progress any time with tix list or tix status. When you finish a chapter, move its issue to the done column — moving to done records the current commit hash:

tix move 1 done --commit "$(git rev-parse HEAD)"

Each issue body is a plain Markdown file, so use it to keep notes, checklist items, and ideas — they remain with the repo and never get lost.

Step 11 / 22