Skip to content

Commit 00b3f08

Browse files
authored
DIP-69: DevConnect Onchain Gaming Adventure (#189)
* feat: add DIP-69 * fix: update DIP-69 in response to initial feedback
1 parent beb9d88 commit 00b3f08

1 file changed

Lines changed: 213 additions & 0 deletions

File tree

DIPs/DIP-69.md

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
---
2+
DIP: 69
3+
Title: DevConnect Onchain Gaming Adventure
4+
Status: Draft
5+
Themes: Freeform, Social
6+
Tags: Event Production, Software
7+
Instances: DevConnect
8+
Authors: Daniel Kronovet (@kronosapiens), Cartridge Gaming Company
9+
Resources Required: Access to community hub spaces, Operations Support, Communications support
10+
Discussion: https://forum.devcon.org/t/focg-treasure-hunt/8099
11+
Created: 2025-10-21
12+
---
13+
14+
## Summary of Proposal
15+
16+
A multi-stage onchain gaming adventure for DevConnect participants, blending browser-based fully onchain games with real-world quests at community hubs throughout the venue. The experience showcases the cutting edge of onchain gaming infrastructure within the Cartridge/Dojo ecosystem on Starknet L2 while driving engagement with community hub spaces.
17+
18+
## Abstract
19+
20+
Cartridge Gaming Company proposes a six-level onchain gaming adventure that alternates between browser-based fully onchain games and real-world quests hosted at community hub spaces throughout DevConnect. Using the Cartridge Controller for seamless authentication and progress tracking, participants discover the adventure through QR-coded entry points and progress by completing game challenges and solving interactive quests embedded within community hubs. The adventure map itself is represented as an on-chain NFT which dynamically updates as players complete their adventure.
21+
22+
The experience serves multiple purposes: providing an engaging alternative activity for conference attendees, demonstrating the capabilities of fully onchain games (FOCG) and the Starknet gaming ecosystem, driving foot traffic to community hub spaces, and creating collaborative puzzle-solving experiences that engage both adventurers and community hub members. The adventure implements cryptographic replay protection to ensure fair play while maintaining answer confidentiality, creating a secure and competitive multi-day gaming experience that may integrate with larger DevConnect quest activations.
23+
24+
## Motivation & Rationale
25+
26+
### Enhanced Attendee Experience
27+
28+
Crypto conferences can be intellectually intense. This gaming adventure provides:
29+
- A fun, accessible alternative activity that appeals to both technical and non-technical attendees
30+
- A compelling reason to visit community hub spaces and engage with diverse ecosystem projects
31+
- A social framework for meeting other participants through collaborative quest-solving
32+
- An asynchronous experience that lets people participate at their own pace throughout the multi-day event
33+
- Engagement opportunities for community hub members who can assist, observe, or participate in quest activities
34+
35+
### Novel Blockchain Use Case
36+
37+
The adventure demonstrates several blockchain-native capabilities:
38+
39+
**Fully Onchain Games**: Unlike traditional games where blockchain is merely a payment or ownership layer, the game logic itself lives entirely onchain. This showcases the potential of blockchain as a compute platform, not just a database.
40+
41+
**Seamless Authentication**: The Cartridge Controller provides one-click authentication without complex wallet setups, demonstrating that web3 gaming can match or exceed the UX of traditional web2 experiences.
42+
43+
**Cryptographic Replay Protection**: The implementation uses ECDSA signature verification to create a zero-knowledge-style proof system where quest answers never appear on-chain, yet solutions can be verified cryptographically. This prevents players from copying each other's answers while ensuring fair play—a critical requirement for competitive multi-day gaming experiences.
44+
45+
**Cross-Chain Infrastructure**: Showcases Starknet L2 technology and the Dojo game engine, introducing attendees to cutting-edge Ethereum scaling solutions through hands-on interaction.
46+
47+
**Dynamic On-Chain State**: The adventure map itself is represented as an on-chain NFT that dynamically updates as players progress, demonstrating real-time on-chain state management and creating a tangible, collectible record of the player's journey.
48+
49+
## Implementation
50+
51+
### Overall Architecture
52+
53+
The adventure consists of **six progressive levels** alternating between two types of challenges:
54+
55+
**Onchain Game Levels (Levels 1, 3, 5)**
56+
- Players "mint" an instance of an embeddable game developed by Provable Games or other Dojo ecosystem team
57+
- Players must successfully complete the game to advance to the next level
58+
- Game instances are isolated per player to prevent interference
59+
60+
**Community Hub Quest Levels (Levels 2, 4, 6)**
61+
- Interactive quests hosted at community hub spaces throughout the venue
62+
- Dashboard reveals clues to which community hub hosts each quest when the level is reached
63+
- Quest designs emphasize game-like interactions, story elements, and pattern recognition
64+
- Quest activities engage community hub members and create collaborative moments
65+
66+
### Technical Stack
67+
68+
**Frontend**
69+
- Browser-based adventure dashboard serving as the player interface
70+
- Real-time progress tracking and level unlocking
71+
- Integrated Cartridge Controller authentication
72+
73+
**Backend**
74+
- Dojo application providing source-of-truth for player progress
75+
- Orchestration layer for minting game instances
76+
- Event logging and analytics
77+
78+
**Smart Contracts**
79+
- Game logic contracts deployed on Starknet
80+
- Progress tracking and verification contracts
81+
- Dynamic NFT contract for adventure map that updates as players progress
82+
- Replay protection implementation (see Security section)
83+
84+
### Player Journey
85+
86+
1. **Discovery**: Scan QR code at entry points throughout venue
87+
2. **Onboarding**: One-click authentication via Cartridge Controller
88+
3. **Level 1**: Complete first onchain game challenge
89+
4. **Level 2**: Receive clue to community hub, complete quest
90+
5. **Level 3**: Complete second onchain game challenge
91+
6. **Level 4**: Discover and complete second community hub quest
92+
7. **Level 5**: Complete third onchain game challenge
93+
8. **Level 6**: Find and solve final community hub quest
94+
9. **Completion**: Adventure dashboard confirms completion and reveals any reward details
95+
96+
### Community Hub Quest Design
97+
98+
While specific quest designs are still under development, the quests will:
99+
- Emphasize game-like narratives, interactive elements, and storytelling over math-heavy puzzles
100+
- Integrate crypto/Ethereum themes relevant to the hosting community hub when possible
101+
- Require 10-15 minutes of engagement per quest
102+
- Be accessible to varying skill levels (with optional hints available via dashboard)
103+
- Create opportunities for community hub members to engage with adventurers
104+
- Incorporate elements of pattern recognition, narrative-following, and creative problem-solving
105+
- Be designed to work in public community spaces without requiring dedicated private rooms
106+
107+
Potential puzzle mechanics may include:
108+
- Printing a QR code on a business card given to community hub organizers, who reveal it to participants after solving a riddle.
109+
- Hiding the puzzle answer in the title of a book in a library, with the correct book changing over the course of the day.
110+
111+
### [POTENTIALLY] Culminating Event
112+
113+
If bandwidth and timing allows, we propose to invite all participants who complete the adventure to an IRL event at the end of Devconnect. The IRL event serves multiple purposes:
114+
- Rewards high-engagement participants
115+
- Creates a community moment for adventurers to meet and share experiences
116+
- Provides additional activation opportunity for sponsors/partners
117+
- Generates memorable conclusion to the gaming adventure experience
118+
119+
### Replay Protection
120+
121+
The adventure implements cryptographic replay protection through a player-bound signature scheme that prevents users from submitting other players' answers.
122+
This is essential for maintaining fair competition in a multi-day, asynchronous gaming experience where hundreds of participants may be at different stages simultaneously.
123+
124+
Each quest solution is deterministically converted into an Ethereum private key, and the corresponding address is stored on-chain as a commitment to the correct answer.
125+
126+
When a player submits a solution, they must sign their own Ethereum address using the solution-derived private key.
127+
The smart contract verifies this signature using `ecrecover`, confirming both that the player knows the solution and that the signature was created specifically for their address.
128+
This cryptographic binding ensures signatures cannot be replayed across different player accounts.
129+
130+
This design is drawn directly from Social Dist0rtion Protocol's [Treasure Hunt Challenge (THC) framework](https://github.com/social-dist0rtion-protocol/thc).
131+
132+
## Operational Requirements & Ownership
133+
134+
### Team & Responsibilities
135+
136+
**Technical Lead**: Daniel Kronovet
137+
- Overall architecture and technical implementation
138+
- Smart contract development and security
139+
- Integration with Cartridge/Dojo ecosystem
140+
141+
**Cartridge Team**: Logistics, marketing, and production
142+
- Community hub quest design and coordination
143+
- Community hub outreach and relationship management
144+
- Marketing materials and communication strategy
145+
- Day-of operations and troubleshooting
146+
147+
### Venue and Resource Requirements
148+
149+
The adventure is designed to leverage **community hub spaces** as quest locations, working within space constraints while creating valuable engagement opportunities:
150+
151+
**Community Hub Partnership Approach**
152+
- Three community hub spaces will host the quest levels (levels 2, 4, 6)
153+
- Quest designs adapted to work in public community areas without requiring private rooms
154+
- Creates foot traffic and engagement opportunities for community hubs
155+
- Community hub members can observe, assist, or participate in quest activities
156+
- Flexible quest designs that work with varying space configurations
157+
158+
### Resource Requirements from DevConnect Organizers
159+
160+
**Community Hub Coordination**
161+
- Introduction to 3 community hub organizers willing to host quest levels
162+
- Support for partnership conversations and logistics coordination
163+
- Guidelines on community hub technical capabilities (power, WiFi, display options)
164+
165+
**Operational Support**
166+
- Coordination on community hub schedules and availability
167+
- On-site contact for troubleshooting during event
168+
- WiFi connectivity for smart contract interaction
169+
170+
**Communication Support**
171+
- Feature in DevConnect progressive web application for discoverability
172+
- Social media promotion leading up to and during event
173+
- Inclusion in official event communications
174+
175+
### Integration & Collaboration
176+
177+
The Cartridge team welcomes collaboration with other Starknet-based onchain games and ecosystem projects.
178+
Potential integration points:
179+
180+
**Quest Integration with Larger Devconnect Activation**
181+
- This adventure may integrate with broader DevConnect quest activations
182+
- Open to collaborative quest design with community hub partners
183+
- Quest completion could count toward other DevConnect achievement systems
184+
185+
**FOCG Ecosystem Collaboration**
186+
- Other FOCG projects could be featured as additional game levels
187+
- Community-created quest content could be incorporated with proper review
188+
- Achievement NFTs could integrate with existing Starknet NFT standards
189+
190+
### Budget and Timeline
191+
192+
**This activation will require no external budget.**
193+
194+
Given the relatively short amount of time before Devconnect (<4 weeks), successfully executing on this project will require a tight scope. Design and development of the adventure will be led by myself in my capacity as Cartridge Developer Relations. I have 6 years of experience with smart contract development and have high confidence that a 6-stage adventure is realistic to implement in our time frame.
195+
196+
**Contingency**: If development challenges arise, we can scale down to 4 levels (2 onchain games, 2 community hub quests) while maintaining the core experience and demonstration of Cartridge/Dojo capabilities.
197+
198+
Given that this activation is meant to primarily highlight the capabilities of the Cartridge/Dojo gaming stack, **we are not asking for any budget** apart from communications and logistical support and introductions to community hubs.
199+
200+
## Links & Additional Information
201+
202+
**Forum Discussion**: https://forum.devcon.org/t/focg-treasure-hunt/8099
203+
204+
**Cartridge Ecosystem**: https://cartridge.gg
205+
206+
**Dojo Engine**: https://dojoengine.org
207+
208+
**Related Experience**: I have contributed to the past activations by [Daedalus.industries](https://daedalus.industries/#projects) and [Social Dist0rtion Protocol](https://www.dist0rtion.com/), including:
209+
- ETHBerlin Zwei "The Spy Who Staked Me"
210+
- Devcon VI SEA "Sybil Defense"
211+
212+
**Contact**:
213+
For questions, collaboration opportunities, or detailed budget information, please reach out to krono@cartridge.gg

0 commit comments

Comments
 (0)