Cryptogs is a cryptographically backed version of the game of pogs (milk caps). It extends the ERC-721 token standard from just collecting and trading to risking tokens using on-chain random game mechanics. Play togs against people from around the decentralized world.
TL;DR: You can win or lose tokens depending on your luck and it's all on the blockchain!
How does random number generation work on Cryptogs?
In order to be fully decentralized, we should not rely on an off-chain oracle or a simple blockhash for randomness. The trick to pseudo randomness on the blockchain involves a commit/reveal mechanic. When you flip the slammer, you generate a random hash called the reveal. Then you generate a hash from the reveal called the commit. This commit is sent to the blockchain at block N. Finally, when you submit your reveal it is hashed with the blockhash of block N+1 to produce a random number. This random number determines who goes first and what Cryptogs are flipped each round.
Buy Cryptogs
Playing Cryptogs
Create A Game
After you purchase some togs, you can start playing by creating a new game or joining an existing game. You'll select 5 togs you are willing to risk against your opponent's 5 togs.
Slammer Flip
To determine who goes first, the slammer is flipped by the game creator using a commit/reveal.
Game Play
Players take turns raising and throwing their slammer. Any Cryptogs the player flips over on their turn are transferred automatically to them. Play continues until all togs are flipped.
Meet the Team from #ETHDenver
Open Source
All of our work is 100% open-source and free for anyone to take and extend! Check out our github repo here.