The Dungeon Flow

The Dungeon Flow

An RPG (Role-Playing) story-based multicharacter game built on the Flow Blockchain, where the player has to collect loot from the chests, kill enemies and collect NFTs & shop for new game collectibles

The problem The Dungeon Flow solves

We grew up playing role-playing games where the importance of the characters, stories, and gear was paramount. Giving players a feeling of ownership and accomplishment is our primary objective.

  • Present web2 games currently do not offer real ownership and players are at the mercy of game providers and centralized servers. Steam has had a huge monetization market, however, a lot of assets purchased do not have a resale value.
  • On the blockchain, players can own collectibles and their progress on-chain and partly off-chain, in their wallets, and NFTs make web3 games truly composable and open a wide variety of opportunities for partnerships & collabs
  • Web3 games involve building around communities where the players have skin in the game, and it also includes audiences ranging from merry investors, speculators, and real players.
  • Moreover, token economies using NFTs and fungible tokens make it possible to introduce different mechanisms like stake-battle and play, lending mechanisms, and various other opportunities.
  • huge open market on which they can trade the game assets.
  • Flow Blockchain provides mobile compatibility and it becomes easy to build games for mobile.
  • An RPG game built on the Flow Blockchain, check the youtube video to view the demo.
  • Signup using Blockto Wallet using your email to obtain an addresss
  • Story-based gameplay, Player has to collect loot from the chests, and kill the guarding monsters who have different hit points, unlock the locked token gates to reach the Flow NFT collectible found at the End of the gameplay.
  • Player has three lives and is minted 4 coins and an NFT for every every Chest collected, and also mints a non-fungible token to his Blockto wallet.

Proposed Design

image

Tech Stack

image

Challenges we ran into

Building on Flow for the first time

  • Finally figured out to write my first contract in Cadence, and deploy it using Flow Playground on the emulator
  • Later I used FLC (Flow Client Library) to deploy my own smart contract to the testnet using the entire software suite.
  • Problems associated with minting Fungible tokens to the wallet while connecting chests and problem solving using React
  • Designing sprite animations on Aseprite and understanding key concepts of Phaser for game development.
  • Figured out Flow installation and CLI usage using tutorials from Learn Web3 DAO, and integrated with the mini game in a span of 6 days, thanks to the time extension.

Deck

Our Deck

Future Plan

  • Introduce Game Token
  • Allow players to create and uplaod their own storylines and characters to the platform with DAO token incentives
  • Stake and Battle modes
  • In game DEX on Flow Blockchain

How to run ?

In the project root:

yarn && yarn start

In

blockchain/src/components/App.js

, please verify the flow client library config

fcl.config() .put("app.detail.title", "My Flow NFT DApp") .put("accessNode.api", "https://rest-testnet.onflow.org") .put("discovery.wallet", "https://fcl-discovery.onflow.org/testnet/authn")

Block explorer:

https://testnet.flowscan.org/

To deploy contract

image

Screenshot 2023-03-01 at 12 05 41 PM

Discussion