My goal was to build a game where the player dives into a cave and mines Cogcoin. After clearing a level’s enemies, the player uses Cogcoin mining and submits a sentence based on the 5 generated words. Completing this challenge rewards the player with in-game cosmetics. The core gameplay loop combines action and blockchain interaction: fight through a level, mine Cogcoin, complete the word-based prompt, and earn rewards that tie back into progression inside the game. One major issue I ran into was wallet setup. Resuming a download caused peer connection problems, which blocked progress while testing the mining flow and wallet functionality. While debugging, I accidentally created a wallet mismatch by deleting files. That led me to investigate the failure case more deeply, and I ended up writing a pull request to add tests and improve failsafes for situations where the wallet state does not match correctly. Through this project, I explored how game mechanics can connect with crypto tooling in a way that feels interactive instead of purely technical. I also gained a better understanding of wallet state management, debugging node and peer issues, and designing around failure cases. My next step is to incorporate Nunchuk so the project can use a smaller wallet flow and support agent-driven rewards. The idea is to allow wallet actions tied to level completion, achievements, and bounty rewards for hitting certain criteria in the game.
Built With
- cogcoin
- javascript
- nunchuk

Log in or sign up for Devpost to join the conversation.