Skip to content

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

lopeselio/dungeon-flow-chainlink-hack-upgrades

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Dungeon Flow - Chainlink Hack Upgrades

Logo

Initiated during Flow Hackathon Devfolio 2023 & Improved during Chainlink Spring Hackathon 2023

image

image

View the project demo on Flow Hack Demo YouTube

Chainlink hackathon demo Chainlink Hack Demo Youtube

Preview

- 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.

  • Player has to unlock the locked token gates to reach the Flow NFT collectible found at the End of the gameplay.

  • For achieving this, he has to break open the walls to unlock and find the mysterious wizard who is held captive and fetch the key to the gate.

  • In the end, after killing the evil angel, the player finally gets the key to the ultimate gate to get to the Flow NFT.

  • 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 custodial wallet

  • Players can also view their game collectibles in the Player Dashboard on the game UI

Contract address

Game NFT Contract deployed on Flow Testnet : 0x9f690718478ff417

image

Proposed Design

image

Tech Stack

image

  • PhaserJS
  • React
  • Flow fcl
  • Blockto Wallet
  • Aseprite

Future Plan

  • Introduce Game Token
  • Introduce Native Maketplace and multi-character feature
  • 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

  • flow init
  • flow accounts create
  • Added the new account to flow.json.
  • Saved the private key to test.pkey.
  • Added test.pkey to .gitignore. Fund Wallet with TEST FLOW Tokens: https://testnet-faucet.onflow.org/fund-account
  • flow accounts add-contract .cdc -n testnet --signer

Screenshots

Dashboard image

Screenshot 2023-03-01 at 12 01 28 PM

Screenshot 2023-06-12 at 1 13 21 AM Screenshot 2023-06-12 at 1 13 40 AM Screenshot 2023-06-12 at 1 13 57 AM

Uploading Screenshot 2023-06-12 at 1.15.07 AM.png…

image

image

image

image

image

image

image

image

image

Screenshot 2023-03-01 at 12 05 41 PM

image

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published