@aeon-games/treasure-map
v5.0.0
Published
Treasure Map
Readme
Treasure Map
Purpose
Treasure Map is a hexagonal deduction and exploration game within the Aeon Games ecosystem. Players are given a series of cryptic clues to locate buried treasures hidden across a diverse terrain (grass, forest, mountains, etc.). The game combines spatial reasoning with a limited "dig" budget to challenge both human players and AI agents.
Key Features
- Terrain-Based Deduction: Clues often refer to specific terrain types and relative hex directions (e.g., "3 steps Southeast of the Ruins").
- Deduction Clues: Players receive a set of clues that describe the location of 5 hidden treasures.
- Limited Interaction: A limited number of digs per clue forces players to be precise in their exploration.
Key Files
src/index.tsx: Main game component, including map generation, clue synthesis, and the digging mechanic.package.json: Package metadata and dependencies.tsconfig.json: TypeScript configuration.
Usage
The TreasureMap component is integrated into the Aeon Games platform:
import TreasureMap from '@aeon-games/treasure-map';
<TreasureMap
gameId="buried-gold-v2"
seed={54321}
onComplete={...}
/>Mechanics
- Clue Structure: "Go 4 steps North from the Sand to find the Gold."
- Terrain Types: Grass, Forest, Mountain, Water, Sand, and Ruins.
- Search: Click on hex cells to "dig" for treasure. Correct digs reveal the treasure and award points.
