hex-math
CommunityMaster hex grid math for game AI.
Authorchaoming
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a concise reference for hexagonal grid mathematics, empowering developers and game designers to implement movement, range calculations, and line-of-sight on hex grids without hunting through external docs.
Core Features & Use Cases
- Coordinate Systems: Understand cube and offset coordinate representations for hex grids.
- Key Algorithms: Distance, neighbors, hex-to-pixel conversions, and line drawing for line-of-sight.
- Use Case: Implement a hex-based pathfinding module for a strategy game.
Quick Start
Use this skill to implement core hex-grid math: distance, neighbors, and line-of-sight calculations for your hex grid.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hex-math Download link: https://github.com/chaoming/ww2-flutter-game/archive/main.zip#hex-math Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.