Inspiration
The inspiration came from the way our brains learn and adapt to sequences.
We wanted to turn that process seeing, recalling, and tracing patterns into an on-chain experience that rewards focus and consistency.
Most blockchain games focus on tokens and assets; we focused on cognitive skill.
We asked ourselves:
“What if every traced path could become a player’s on-chain identity a permanent record of their focus, patience, and growth?”
That’s how StarkPath was born, where memory and blockchain align perfectly.
We learned:
- How to integrate Dojo, Torii, and Katana effectively for local and on-chain testing.
- How to design efficient entities and components for performance.
- How indexing through Torii keeps the frontend synchronized with on-chain state.
- How to build a progressive grid path system that dynamically adjusts difficulty.
The player’s goal is to reconstruct this sequence perfectly each round as the difficulty increases.
How We Built It
We combined frontend precision with on-chain logic to create a smooth, real-time experience that still runs fully on the blockchain.
Frontend
- React + TypeScript + Vite for speed and modularity
- TailwindCSS for dynamic, responsive grid visuals
- Dojo for managing real-time game state
- Cartridge Controller for one-click wallet connection
On-chain Logic & Infrastructure
- Dojo Engine powered the core logic, entity modeling, and world simulation.
- Katana was used for local testing and debugging game logic efficiently before moving on-chain.
- Once stable, the contracts were deployed to Starknet testnet for public testing and live interaction.
- Torii Indexer handled data indexing, enabling smooth querying of player states, scores, and world data.
- The game communicates seamlessly between frontend → Torii → Dojo world, ensuring real-time state updates without lag.
When a player successfully traces a path, the system verifies it, updates their stats on Starknet, and logs the achievement permanently all within seconds.
Challenges We Faced
- Ensuring fast state updates while maintaining on-chain integrity.
- Managing Dojo world synchronization between local (Katana) and testnet deployments.
- Handling real-time updates through Torii without overloading queries.
- Creating fair yet unpredictable path generation algorithms.
- Avoiding transaction delays during gameplay without compromising security.
Each challenge made us appreciate the power of Dojo and Starknet’s scalability even more turning complex on-chain tasks into smooth player experiences.
Built With
- cairo
- cartridge
- dojo-js
- torri
Log in or sign up for Devpost to join the conversation.