Mincomind
On chain mastermind/cows and bulls tournament built on Inco network
Screenshots




Problem Statement
Video: demo Deck: https://docs.google.com/presentation/d/1QEbknOpkDt-Bz82htuTw9E1d23snHOuSdhhkCJmNf30/edit?usp=sharingOn chain cows and bulls tournament built on Inco network, leveraging fully homomorphic encryption to enable secret values and randomisation in smart contracts.Game playBasicsA secret code of 4 colour pegs is created π€π€π€π€ A player attempts to guess the secret code π΄π’π π£ After each guess, the player gets feedback:A black peg for each correct color in the correct position (bull). β« A white peg for each correct color in the wrong position (cow). βͺObjective: Use the feedback to deduce the secret code within 8 attempts.TournamentDeposit 0.001 inco native tokens to playFail = lose your depositWin = earn points = land on the leaderboardRedeem points for proportion of the pot, but leave leaderboard
Solution
Smart contracts - Inco network leveraging homomorphic encryption to implement secrets & randomization on chainUI - Rescript react, Dynamic for wallet connection & interaction, blockscout for tx & account infoIndexer - envioFully homorphic encryption opened an entirely new paradigm in smartcontract engineering, it was an interesting problem to solve having timestamp based view functions after blocks where mined to prevent reverting transactions on bad game outcomes.
Hackathon
ETHGlobal Brussels
2024
Prizes
- π
Best use of Blockscout Block Explorer
Blockscout
- π
Best Gaming dApp1st place
Inco Network
Contributors
- DenhamPreen
52 contributions
- JonoPrest
23 contributions
- JasoonS
20 contributions