Dark Trek merges RTS strategy with Dark Forest, hiding fleet paths for surprise tactics.
Dark Trek combines the strategy of classic RTS games with the creativity of Dark Forest. Players use fog of war to conceal fleet paths and surprise their enemies. Blockchain and zero-knowledge proofs (ZKP) ensure privacy, security, and a decentralized gaming experience, adding layers of strategy and unpredictability.
Building Dark Trek presented several unique challenges:
Commit-Reveal Paths:
Performance Optimization:
Gameplay Design:
We identified Griffin Permutation as a potential alternative to MiMC/Poseidon hashes to reduce constraints, and tweaked it to fit our specific scenario. However, we faced challenges in efficiently mapping hashes to the bit array within Bloom Filter constraints.
To address this, we attempted to use VDF (Verifiable Delay Function) to delay the search process. Unfortunately, the Sloth Scheme didn’t prove suitable for the field, resulting in limited progress.
Circuit Design and Integration:
Front-End and Proofs:
Blockchain Interaction: