rust-bracket-game-loop

Installation
SKILL.md

Rust Bracket Game Loop

Use this skill to create or review a small Rust game loop, especially one built with bracket-lib and an explicit game state. Keep tick as a coordinator: read input, advance state, render, and dispatch to small helper functions.

Core Workflow

  1. Inspect the target project's Cargo.toml, edition, engine, and existing architecture before changing dependencies.
  2. Create one state object that contains data preserved between frames.
  3. Implement the engine trait or callback required by the project.
  4. Route modes through an enum rather than scattered booleans.
  5. Keep rendering and state mutation ordered and easy to trace.
  6. Add a restart/reset path before adding many gameplay states.

Read Next

Installs
42
Repository
lvtd-llc/skills
GitHub Stars
1
First Seen
Jun 22, 2026
rust-bracket-game-loop — lvtd-llc/skills