| title | Terpiez Go - Twitch & Roblox Discovery Engine |
|---|---|
| emoji | 🎮 |
| colorFrom | indigo |
| colorTo | purple |
| sdk | docker |
| app_port | 7860 |
| short_description | Terpiez-Go Roblox & Twitch Discovery Engine Web App |
Welcome to Terpiez-Go 2.0, a state-of-the-art Location-Based Services (LBS) Augmented Reality & Recommendation Engine application inspired by Niantic (Pokémon GO), Roblox design aesthetics, and Twitch discovery feeds.
Rebuilt from the ground up using React 18, Vite, TypeScript, Three.js, Uber H3 Spatial Indexing, and Go, Terpiez-Go 2.0 seamlessly combines spatial computing, real-world real-time weather modifiers, 3D WebGL rendering, and multi-controller input into a unified high-performance web platform.
-
$O(1)$ Spatial Lookup: Integrated Uber's officialh3-jslibrary at Resolution 9 (~100m hex cells) to map player GPS coordinates and monster spawns to hexagonal grid cells. - K-Ring Neighbor Disks: Calculates surrounding 7-cell hexagonal clusters in real time for ultra-fast spatial proximity detection.
-
Interactive Spatial Inspector: Features a real-time overlay panel (
Uber H3 Spatial Grid Inspector) displaying current H3 Cell IDs (e.g.892a1008007ffff), cell resolution, and centroid coordinates.
- 2D / 3D Perspective Map View (
ThreeDMapView): Toggle between 2D Leaflet map view and interactive Three.js 3D WebGL perspective terrain with a glowing 3D player beacon, hex-style ground grid, and floating 3D low-poly creatures. - 360° Holographic Monster Viewer (
ThreeDMonsterViewer): Interactive modal rendering low-poly 3D geometries with metallic/wireframe materials, rotating holographic pedestal rings, point light illuminations, and floating particle FX (particle systems).
- Multi-Controller Input: Native support for WASD / Arrow Keys and HTML5 Gamepad API (Xbox / PlayStation left joysticks and D-Pad controls).
- Auto-Walk / Patrol Engine: Automated AI patrol mode that walks the player avatar along campus paths and H3 grid cells for hands-free monster discovery.
- Proximity Alerts: Triggers real-time alerts and confetti when entering within 80 meters of wild Terpiez.
- Real-World Environment Modifiers: Integrated weather engine supporting
Sunny ☀️,Rainy 🌧️,Night 🌙, andThunderstorm ⚡conditions. - Stat & Encounter Boosts: Rainy/Stormy weather boosts Water, Electric, Dark, and Cyber Terpiez encounter rates and combat stats up to +300%.
- Online Ghost Avatars: Displays active online player avatars (
Player_Alex,Player_Maya) moving across adjacent H3 grid cells. - UGC Terpiez & Beacon Builder: Allows players to design custom Terpiez species (name, type, rarity, stats, emoji) and deploy spatial Beacon Signals to attract wild spawns.
- Design Tokens: Custom CSS variable system featuring HSL dark themes, glassmorphism (
backdrop-filter), micro-animations, and rarity color gradients. - Multi-Feed Recommendation: Algorithmic scoring for
For You,Nearby, andTrendingdiscovery feeds based on user preferences, spatial distance, and rarity. - Go Telemetry Server: High-throughput Go telemetry pipeline (
server/main.go) logging telemetry events with real-time p50/p95/p99 latency tracking. - Zero Redis Lock: Built-in local fallback ensuring 100% uptime with zero database login blocks.
| Layer | Technologies Used |
|---|---|
| Frontend Framework | React 18, Vite 5, TypeScript 5 |
| Spatial Indexing | Uber h3-js (Resolution 9 Hexagonal Grid) |
| 3D & Graphics | Three.js (WebGL Renderer, Lighting, Particle Systems, Geometries) |
| Mapping & GIS | Leaflet, React-Leaflet, OpenStreetMap |
| UI & Styling | Vanilla CSS Design System (Tokens, HSL Dark Mode, Glassmorphism), Lucide React |
| Input Engine | HTML5 Gamepad API (Xbox Controller), Keyboard Event Listeners |
| Backend & Telemetry | Go 1.22 REST Server, Vitest Test Suite, Docker + Nginx |
- Node.js: v18.0.0 or higher
- Go: v1.20+ (optional, for backend telemetry server)
npm installnpm run devOpen http://localhost:5173 in your browser.
npm run buildnpx vitest rungo run server/main.go- Terpiez Original Concept & Art: Created by Noah McMullen and UMD CMSC team.
- Terpiez-Go 2.0 Engine & Spatial Architecture: Engineered with React, Vite, Three.js, Uber H3, and Go.