social-dist0rtion-protocol / planet-a

The Tragedy of the COâ‚‚mmons
MIT License
10 stars 3 forks source link

🌍 Planet A 🌍

Planet A is a "serious social game" taking place during the Berlin Blockchain Week 2019 and CCCamp 2019 involving as many participants as possible.

The game will begin as a gimmick incentivizing participants through a financial incentive to interact with each other via a burner wallet. Half way through the game, players will find themselves in a tragedy of the commons, as they find out that their greedy interactions had dangerous emissions that now threaten to collapse the economy of Berlin Blockchain Week. They enter as teams into a competition to educate each other, and prevent an economic tipping points to be reached. The team that manages to achieve the best climate score wins the event.

Installation

The Planet A Wallet runs on LeapDAO's test network. Installation should be simple and straight forward:

$ git clone https://github.com/social-dist0rtion-protocol/planet-a.git
$ cd planet-a
$ npm i
$ npm run start

If you're experiencing issues in relation to HTTP, you can start the burner on HTTPS by running:

$ HTTPS=true npm run start

Components

ERC20 Tokens

ERC1948 Tokens

Passports are ERC1948 tokens. Each player needs at least one passport to play.

Passport data structure:

+------------+------------+------------+-------------+
| 20 bytes   | 4 bytes    | 4 bytes    | 4 bytes     |
| name str   | picId      | COâ‚‚ locked | COâ‚‚ emitted |
+------------+------------+------------+-------------+

Note that the COâ‚‚ value in the passport is expressed in Megatons.

Smart Contracts

The planet-a-contracts repository contains:

Earth

Earth needs:

Air

Air needs:

Attribution

License

MIT