rexrainbow/phaser3-rex-notes/rexboard-movement-and-pathfinding
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when working with RexBoard moveTo, pathFinder, MoveTo, PathFinder, moveToward, moveToRandomNeighbor, board paths, A*, occupiedTest, blockerTest, moveableTest, path costs, reachable areas, or tile-by-tile board movement. Triggers on: RexBoard moveTo, RexBoard pathFinder, board path, A*, occupiedTest, blockerTest, moveableTest, findArea, findPath.
Install
npx vskill@latest install rexrainbow/phaser3-rex-notes/rexboard-movement-and-pathfindingSKILL.md
RexBoard Movement And Pathfinding
Use this skill for moving board chess and planning paths across RexBoard tiles.
Use This First
Choose the movement tool:
| Need | Use | |
|---|---|---|
| Animate a chess game object tile-by-tile | MoveTo | |
| Test one destination tile | MoveTo.canMoveTo(...) | |
| Find reachable area | PathFinder.findArea(...) | |
| Find a path to a destination | PathFinder.findPath(...) | |
| Use terrain costs or A* modes | PathFinder with costCallback |
Most tactical movement uses both: pathfind first, then move step-by-step.
Required Setup
This skill assumes the moving chess is already on a RexBoard board. If not, use rexboard-board-and-chess.
References
Read these only when needed:
references/moveto-config.md:MoveToconfig, methods, runtime setters, and events.references/pathfinder-config.md:PathFinderconfig, path modes, cost callbacks, and query APIs.references/blockers-and-costs.md: occupied tests, blocker tests, moveable tests, and cost semantics.references/movement-recipes.md: reduced recipes for moving toward a tile, following a path, and reachable tiles.
Core Rules
MoveToneeds a chess game object already registered on a board.PathFindercan be constructed with a game object or config; callsetChess(gameObject)when created detached.- Keep
occupiedTest,blockerTest, and custom tests separate. - Use
PathFinder.BLOCKER/INFINITYfrom the instance in callbacks instead of hard-coded sentinel values. - Use board occupancy and
tileZconventions consistently between movement and pathfinding.
Source File Map
plugins/board/moveto/MoveTo.d.ts: movement config, methods, and callback types.plugins/board/pathfinder/PathFinder.d.ts: path config, path modes, costs, and query methods.plugins/board/moveto/Factory.js:moveTofactory signature.plugins/board/pathfinder/Factory.js:pathFinderfactory signatures.plugins/board/moveto/methods/*.js: inspect only when movement behavior is unclear.
Related Skills
rexboard-board-and-chess: board occupancy,tileZ, and chess placement.rexboard-grids-and-coordinates: directions, neighbors, distance, and wrap behavior.rexboard-visibility-and-routes: LOS and Monopoly route traversal.rexboard-miniboard-and-composite: MiniBoard-specific movement workflows.
Gotchas
sneakaffects movement occupancy behavior; do not use it unless game rules require passing through occupied tiles.MoveTomutates board chess position before the visual tween completes; account for this when checking occupancy during movement.wrapcan make a neighbor move render as split movement across board edges.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rexboard/rexboard-movement-and-pathfinding/SKILL.md
Popularity
- Repository stars
- 1,333
- Repository forks
- 270
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rexrainbow/phaser3-rex-notes/rexboard-movement-and-pathfinding)