Skip to content

This is an extended version of Rock/Paper/Scissor game built on Mina Protocol using the zknoid SDK and Protokit, with the backend powered by o1js library

Notifications You must be signed in to change notification settings

blocsoc-iitd/Power-Clash

 
 

Repository files navigation

Power Clash

won 3rd prize in ethSingapore on Mina Protocol (zknoid) rmn

This our second game in series on the ZkNoid platform.
This game (Power Clash) is an interesting version of Rock-Paper-Scissor game, In this game we are using 5 objects Dynamite-Alien-Cockroach-Water_wave-Sponge.
In this game we used many inbuilt libraries of zknoid SDK that are like: I+we used matchmaker for match making between players, used lobby for lobby creation, its runtimeModule, its stateMap for storing the states, we implemented commit-reveal-scheme by using Poseidon and Provable from o1js library.

Setup

Project can be used localy. Here are the commands for set-up

git clone https://github.com/RamanS1819/Power-Clash
 
# ensures you have the right node js version
# !important! Without this step the app may not work!
# If nvm is not installed please install it. 
# `nvm install` may be needed to install correct node version
nvm use

pnpm install

pnpm env:inmemory dev

Token Twist

About

This is an extended version of Rock/Paper/Scissor game built on Mina Protocol using the zknoid SDK and Protokit, with the backend powered by o1js library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Other 1.3%