How ricardomoraispor/tallgrassmaps works
Tall Grass is a Pokémon game companion for browsing regional maps and game-specific reference data. The main workflow routes a player into a game and region, then to a location where map navigation and location details support exploration; separate views provide the Pokédex, game catalog, and Hall of Fame tracker. Map rendering, game/map data, and persisted settings form key internal layers. The source index and excerpts establish routing and selected map/settings links; several feature files were not sampled, so their internal calls are not asserted.
Main entry points: router.tsx Route dispatch · useGameRoute.ts Game route resolver · MapViewer.tsx Interactive map · main.tsx Web application
Components 20
Application and navigation
- Web application
src/main.tsx - Route dispatch
src/router.tsx - Game catalog
src/pages/Home/HomePage.tsx - Game layout
src/pages/Game/GameLayout.tsx - Credits page
src/pages/Credits/CreditsPage.tsx
Maps and locations
- Region overview
src/pages/Game/Region/RegionPage.tsx - Location details
src/pages/Game/Location/LocationPage.tsx - Interactive map
src/components/map/MapViewer.tsx - Region map data
src/data/maps/kanto-rby.ts
Game reference data
- Game metadata
src/data/games.ts - Pokédex views
src/pages/Game/Pokedex - Pokédex data
src/data/pokedex - Location references
src/data - Hall of Fame
src/pages/Game/HallOfFame
User state and utilities
- Tracker state
src/stores/tracker.ts - Settings controls
src/components/settings/SettingsDialog.tsx - Persisted settings
src/stores/settings.ts - Game route resolver
src/hooks/useGameRoute.ts - Path helpers
src/lib/paths.ts
Other components
- Player
Connections 18
- Player → Web application: opens
src/main.tsx - Web application → Route dispatch: mounts routes
src/main.tsx - Route dispatch → Game catalog: routes to
src/router.tsx - Route dispatch → Credits page: routes to
src/router.tsx - Route dispatch → Game layout: routes to
src/router.tsx - Route dispatch → Region overview: routes to
src/router.tsx - Route dispatch → Location details: lazy-loads
src/router.tsx - Game layout → Game route resolver: resolves game route
src/pages/Game/GameLayout.tsx - Game route resolver → Game metadata: looks up game
src/hooks/useGameRoute.ts - Game route resolver → Region map data: resolves region trail
src/hooks/useGameRoute.ts - Game route resolver → Path helpers: builds location link
src/hooks/useGameRoute.ts - Interactive map → Region map data: uses map types
src/components/map/MapViewer.tsx - Interactive map → Persisted settings: reads theme state
src/components/map/MapViewer.tsx - Settings controls → Persisted settings: updates settings
src/components/settings/SettingsDialog.tsx - Game catalog → Game metadata: uses catalog
- Pokédex views → Pokédex data: reads entries
src/pages/Game/Pokedex/usePokedexSearch.ts - Location details → Location references: presents references
- Hall of Fame → Tracker state: uses tracker state