Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vboureaud/censorshipgame

Winner of the ETHBrno², privacy and security game using quadratic voting on-chain.
https://github.com/vboureaud/censorshipgame

dapp game react solidity

Last synced: 3 months ago
JSON representation

Winner of the ETHBrno², privacy and security game using quadratic voting on-chain.

Awesome Lists containing this project

README

        

# The Censorship Game

An on-chain, hidden role game featuring quadratic voting that doesn't require zero knowledge proofs.

Will you reveal your true colors?

## Background
The Censorship Game was built during [ETHBrno 2022](https://ethbrno.cz) hackathon with the intent to push players to reflect about _privacy_ and _security_, while learning about quadratic voting and the commit-reveal design pattern.

It is a proof of concept for a new genre of games that allow players to have secret properties/abilities without the complexity or computational overhead of zero knowlege proofs.

## Rules

![Censorship Game flow](CG_flow.jpg)

- There are 2 teams = 2 colors 🔴 / 🔵
- When the game starts you get assigned a color (note: you are the only one knowing your color)
- you are the only one who knows your color
- Every round you can choose which participants you want to save
- The goal of the game is to be on the winning team by any means necessary
- Each round you are assigned 100 points, choose:
- Who you want to save from the list of participants
- Can’t vote for yourself
- A value (points) to assign to each participant you want to save
- Keep in mind it’s quadratic voting
- Every round the bottom half of players by votes are “redacted” (eliminated)
- Every round you can flip sides (change color), as long as you're not "redacted"
- The team of the last man standing wins (even those who have been "redacted")

## How to Play

Navigate to [https://censorship-game.vercel.app](https://censorship-game.vercel.app)

- type **connect** to connect your wallet to optimism network (you need ethbrno nft)
- type **join** to start the game ( a team/color is assigned)
- type **vote** to start voting
- sign the transaction to lock your choices
- type **status** to check who is winning

Video [https://www.youtube.com/watch?v=DYylnJLHSKo](https://www.youtube.com/watch?v=DYylnJLHSKo)