Who's Rugging Who?
A zero-knowledge game based on the game of Mafia and the real life Mafias rugging your crypto
Created on 19th May 2024
•
Who's Rugging Who?
A zero-knowledge game based on the game of Mafia and the real life Mafias rugging your crypto
The problem Who's Rugging Who? solves
Mafia (or 'Werewolf') is, IMHO, the best game ever - and now you can play it without being face to face, with the secrets in the game being verifiable by other players without being revealed!
We've changed the gameplay to make it asynchronous, so it's less like a small rural werewolf-plagued village, and more like the cut-and-thrust of 21st century unregulated high capitalism. Whoooo yeeah!!
Challenges we ran into
https://github.com/iden3/snarkjs/issues/252 and https://github.com/iden3/snarkjs/issues/301 due to using mismatched math types without error checking.
Ended up having to hack the library within node_modules :(
Various pain with circom error messaages having nothing to do with the error, but eventually it became clear that 'syntax error in position 1,1' is circom for 'type error', 'wrong size scalar' means 'you need to specify some public inputs and outputs', etc. etc 😂ðŸ˜
And it would have been nice to deploy on heroku. Are we bad people for prioritising basic features over SSL certs for all the moving parts? 🤔
Tracks Applied (5)
Global Bounty
Aleph Zero
Product Path
Aleph Zero
Best ZK Application deployed on zkSync
zkSync ∎
Power Builder
Polygon
zkEVM Stack Extension
Polygon
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.