Git Product home page Git Product logo

gasa's Introduction

Getting started

GASA is a 100% on-chain PvE economic game.

Deliver ๐Ÿ“ฆ cargo to the orbit using โ›ฝ๏ธ fuel efficiently

Stages

  1. Registration.

The stage is initialized by the admin.

Session contract generates random risk factors, payload reward and fuel price.

During the registration stage participants have to specify:

  • the amount of fuel they're willing to buy for the exact session;
  • payload weight.
  1. Execution.

The stage is initialized by the admin.

The game is managed by a session contract that executes the session within 1 block.

Session contract creates random events based on the risk factor of the session.

Fuel burn rate = strategy.payload / total_rounds

Participants can review the log using the dApp page title.

Risk factor

Risk types effect the mission probability.

Type Failure probability
๐Ÿšซ Engine error 3%
๐Ÿ›ค Trajectory failure 3%
๐Ÿš€ Separation error 3%
๐Ÿ—ฟ Asteroid 10% + weather
โ›ฝ Fuel > 80% 10% + weather
๐Ÿ“ฆ Payload > 80% 10% + weather

Weather affects the probability multipliers.

Risk Effect
โ˜€๏ธ sunny 0
โ˜๏ธ cloudy 1
๐ŸŒง rainy 2
๐ŸŒฉ stormy 3
โ›ˆ thunder 4
๐ŸŒช tornado 5

End Game

The main goal is to deliver the cargo to orbit without fuel surplus. A certain reward multiplier apply based on the fuel tank state. If the player has lots of remaining fuel the delivery reward decreases.

Fuel left Multiplier
Fuel tank = 0 Session reward * 1.7x
Fuel tank > 0 Session reward * 0.5x..1.4x

Leaderboard is collecting results of previous rocket launches.

ToDo

  • Add Commit-reveal-scheme for registration phase;
  • Gas reservation feature for autonomous regular sessions;
  • Add PvP elements for the game;
  • Implement speed formula;
  • Build mission probability calculator for registration page;

gasa's People

Contributors

eugenway avatar almazatun avatar louisemedova avatar 0xkube 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.