Git Product home page Git Product logo

game's Introduction

FishingFrenzy

Live Link

Video Demo

FishingFrenzy is a multiplayer game, a decentralized application based on smart contracts running in Ethereum blockchain. Players can collecting, fighting and growing crypto fish tokens to dominate the “decentralized FrenzyVerse”. Each Fish has a unique name, a unique image and unique characteristics as a ERC-721 token stored in the ethereum network that can be sold or transferred just like any other cryptocurrency.

Requirements

  • Ubuntu
  • Build-essential packages
  • Node.js Version 10.15.3
  • Angular 8
  • Truffle
  • Geth
  • MetaMask Enabled Browser

Setting Up:

Step 1: Download the repostory using the command:

 git clone "https://gitlab.com/ced_b3_projects/ced-b3-g06.git"
 cd ced-b3-g06

Step 2: Install the dependecies using the command:

 npm Install

Step 3: Use the following command to runing Smart Contract:

Run On Private Network

Use the following command to run the Geth(Proof Of Authority (Clique)):

nano node/genesis.json

Add needed alloc address and prefund NOte: Don't Change First Alloc Address

cd node
chmod +x ./genesisInit.sh
chmod +x ./geth.sh

./genesisInit.sh
./geth.sh
cd ..
truffle migrate

Run On Public Network Use the following Steps For Run Smart Contract In Ropsten (Proof Of Work) and Rinkeby (Proof Of Authority) :

nano truffle-config.js

change infuraKey

nano ./secret

add your mnemonics words

nano src/app/Services/app/app.service.ts

go to line 11

change networkid to 3 for Ropsten and 4 for Rinkeby

truffle deployment for Ropsten Network

truffle migrate --network ropsten

truffle deployment for Rinkeby Network

truffle migrate --network rinkeby

Step 4: Running Angular App Open New Terminal

ng s -o

it will Automaticaly Open http://localhost/4200 in browser Connet with Metamask Enjoy!!!!!!

check video demonstration here

Optional Settings:

to run test case New Terminal

truffle test ./test/FishingFrenzy.js

Depolyed Contract of Ropsten Network: 0x9ae312022f9ec4b706d79b2AFcadf749f2E0EeD7

Ropsten Live Link

Depolyed Contract of Rinkeby Network: 0xf65d21bEe00e431bFA109dDa97c0B56Fd32e3d13

Rinkeby Live Link

We Don't Stop From here....

Upcoming Features

  • Implementing Docker.
  • Ether Payment Support.
  • ERC20 Token Support.
  • Fish Recharging.
  • Admin Panel.
  • Migrating To ERC721 Fish Tokens from Fish Contracts.
  • Fish Biding Support.
  • Fish Battle Arena.
  • implementing New featured Fishrods.
  • Aquarium for Fish breeding.
  • New Web Ui with Rich Graphic Support.
  • Introducing Mobile App.
  • Original Fish API.
  • Introducing Legendary and Seasonal Fishes which Have Unique DNA.
  • VIP Club. (increasing the chance of Epic Fishes)
  • And So on ... Stay Tuned.........

game's People

Contributors

ashii1994 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.