hackquest logo

Ashfall

A multiplayer roguelike dungeon crawler where every item has real-world value backed by treasury, playable cash-out anytime.

視頻

描述

Demo Video - https://www.canva.com/design/DAG-fPqt4xM/v-2T2CxiSkiAdY0GBbn5rA/watch?utm_content=DAG-fPqt4xM&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h566735bc27 

Pitch Deck - https://www.canva.com/design/DAG-fdSyOLQ/kR9D_XVmSkavb-8S0lSpmA/view?utm_content=DAG-fdSyOLQ&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h87e51230cf

One Pager Pitch - https://docs.google.com/document/d/1FjEho-PEtWvrjnbGic7bJbSiWUK3d1G4PCM8Q_V893k/edit?usp=sharing

Ashfall is a cooperative roguelike dungeon crawler built on Mantle Network that bridges the gap between traditional gaming and blockchain-based asset ownership. Unlike speculative play-to-earn models where token prices determine value, Ashfall implements a treasury-backed Real World Asset (RWA) system where every in-game item has a guaranteed floor price in USDC, redeemable at any time through the Insurance Vault smart contract.

Game Architecture:

The game runs on a hybrid architecture combining on-chain asset ownership with off-chain real-time gameplay. The frontend is built with Next.js 16 and Phaser.js 3 for 2D rendering, while the multiplayer backend uses Express.js with Socket.io for WebSocket-based real-time synchronization between players. This design allows for responsive gameplay while maintaining true ownership of assets on Mantle.

Smart Contract System:

The protocol consists of four core contracts deployed on Mantle Sepolia:

- AshfallGame.sol: Core game logic managing heroes, items, dungeons, and combat resolution. Handles item minting with rarity tiers (Common, Uncommon, Rare, Epic, Legendary) and manages the permadeath mechanic that burns items on hero death.

- ASHToken.sol: ERC-20 reward token distributed for gameplay achievements—1 ASH per enemy kill, 10 ASH per floor completion, 100 ASH per dungeon clear.

- InsuranceVault.sol: The RWA backbone that holds USDC reserves and processes item redemptions at guaranteed floor prices (Common $0.10, Uncommon $1, Rare $10, Epic $50, Legendary $100).

- DailyBonus.sol: Retention system with streak multipliers reaching 2x rewards after 7 consecutive days, resetting if players miss 48+ hours.

Multiplayer & Social:

Players create or join 2-player dungeon runs using room codes. The Socket.io server synchronizes game state in real-time, enabling cooperative turn-based combat where both players see enemy movements, attack animations, and loot drops simultaneously. A party chat system allows coordination during runs.

Gameplay Loop:

1. Players create heroes choosing from Warrior, Rogue, or Mage classes

2. Join or create multiplayer rooms for dungeon runs

3. Navigate procedurally generated floors, defeating enemies and collecting items

4. Items are minted on-chain with verifiable rarity

5. Complete dungeons to earn $ASH tokens

6. Cash out items through Insurance Vault for guaranteed USDC value

7. Permadeath on failure burns items and resets hero progression

Why RWA Gaming Matters:

Traditional P2E models tie item value to volatile token prices—when tokens crash, player earnings evaporate. Ashfall's Insurance Vault guarantees minimum value backed by actual USDC reserves. Players aren't speculating on game popularity; they're earning assets with floor prices enforced by smart contracts. This creates sustainable economics where playing the game has real, predictable value.

Authentication & Wallets:

Privy handles authentication with embedded wallets, removing the MetaMask friction that blocks mainstream adoption. Players can sign up with email and start playing immediately—wallet creation happens automatically in the background.

Deployments
- AshfallGame - 0x8bADdaa6c161832f2Bbb135c75520Fea6ccDeF7C

- ASHToken - 0xCF7e8b14adA69C52C36d44515DF498B318d1464e

- InsuranceVault - 0x5466DaD4FEcABa3e006b26E3e84B6a0B5ad04046

- DailyBonus - 0x42f40ce40FbDddA52f8a5534ce42e4Da100eD12C

- USDC - 0x84bB9fa6bb956e636D0Fe625C9F8987700616B63

黑客松進展

Built everything during the hackathon

技術堆疊

React
Next
Web3
Solidity
Phaser.js
Socket.io
Goldsky
Node

籌資狀態

Self bootstrapped

團隊負責人
JJenifa Joanna
行業
RWAGamingDeFi