Skip to content

tsdocode/NFlappyT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird meet NFT & Blockchain

by tsdocode

game image

Introduction

Customize classic Flappy Bird game with Blockchain back-end

p/s: Checkout full project in playcanvas

Technology

Game Architecture

Game Play

Game features

  • Lucky draw bird
  • Buy bird via Opensea
  • Reward when complete game
    • bonus based on bird's rare

Bird Attributes

  • Rare:
    • Normal: 50%
    • Rare: 30%
    • Epic: 20%
    • Legendary: 10%
  • Bonus:
    • Normal: 0%
    • Rare: 20%
    • Epic: 30%
    • Legendary: 100%
  • Max Stamina:
    • Normal: 999
    • Rare: 300
    • Epic: 200
    • Legendary: 20

Luckydraw

This is not a secure random method, I will update later.

  1. Random number in js
  2. Random rare base on this number in smart contract
  3. Random bird base on this rare in smart contract
  4. Mint bird to player

How to play

  1. Install Metamask Extension to your browser
  2. Connect To Rinkeby network

RPC url: https://rinkeby.infura.io/v3/e0517a061de2466ba6b7569c29f02967

Network Id: 4

  1. Faucet some fake ETHs using chainlink faucet
  2. Game was deployed to my github page
  3. Lucky draw some birds
  4. Enjoy

References

Flappy Bird - Dong Nguyen

Original Flappy Bird based on Play Canvas

Buildspace NFT Game guide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published