Code Monkey home page Code Monkey logo

treetycoon's Introduction

๐ŸŒณ TreeTycoon grow your seedling into a meta tree

โš ๏ธ This is a proof of concept, not to be used in production environment.

Summary

TreeTycoon is an on-chain dynamic NFT game.

Players water seedling NFTs to grow them into a tree.

Players race to grow their seedling before the tree NFT dies from flood or wild fire happens.

The goal of the game is to promote forestation and bring people together.

Tree Tycoon

Demo Video

Live Demo

The front end application is written with vite and generated from unity. The repository for the Front-End is available here: https://github.com/adapole/silvanus-frontend

Overview

Multiplayer mode is the major focus of our build, to bring people together we must provide a media of communication.

A voip voice communication channel is built into the game so anyone in the room can talk with each-other.

And a support for almost all modern hardware devices, from VR & AR devices to smart-phones and PC widens the reach of our game.

Game play

To win the game all you need to do is raise your seedling into a tree. Water the seedling with H2O token consistently until it becomes a tree.

Some events are triggered by game master, like Rain and Wild fire.

Rain supplies all silvanus NFT holders with water token(H2O) and on occasion it causes Flood for small seedlings.

Wild Fire is also started by game master to level the playing field so seedlings get a chance to grow and compete with bigger trees.

Floods destroy the seedlings but you get a water token airdrop nonetheless.

To survive wild fire event, pledge water for fire extinguishing; that is approve spending to contract to drain water incase a fire happens.

So Pray for protection from Flood and Fire at the temple. Or use some Magic Potion NFT to revive your tree if it dies.

Smart Contract

The tree NFT is responsible for processing all growth event. The program is responsible for implementing all the logic for the game. And so it is a dynamic NFT.

The potion NFT is used to revive dead trees, any account that holds tree NFT gets exponential potions power minted during mint call to potion contract. Potion NFTs are thus dynamic NFT as well.

The H2O token is used to grow the tree NFT.

Contact

Twitter URL

treetycoon's People

Contributors

adg0 avatar

Watchers

 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.