On-chain dungeon crawler game for ProbeChain Rydberg Testnet (Chain ID: 8004).
Players explore dungeons with pseudo-random encounters, action choices, and loot rewards.
createDungeon(difficulty, rooms, rewards)— Create a dungeonenterDungeon(dungeonId)— Enter a dungeon (pay entry fee)exploreRoom(dungeonId, roomId, actionChoice)— Explore a roomclaimLoot(dungeonId)— Claim loot after completing
npm install
cp .env.example .env
npx hardhat compile
npm run deploy- Chain ID: 8004
- EVM: London
- Solidity: 0.8.24