project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

ZKazino

Zero knowledge based poker developed using zknoid SDK which uses protokit behind the scenes and runs on mina chain.

ZKazino

Created At

ETHOnline 2024

Project Description

ZKazino is a concept for integrating casino games using the ZKNoid SDK, with poker being the first game on the list.

We have created a Zero Knowledge-based poker game that utilizes the ZKNoid SDK in the background. The game is designed to allow two players to connect in real time and play together. It features the capability to create private lobbies for players, enabling them to play with their friends.

The game leverages Protokit to build an app chain that facilitates lightning-fast transactions, providing players with a true real-time gaming experience. Utilising ZK ensures a secure platform for players to participate. This technology ensures that players have no knowledge of their opponent's cards. Zero-knowledge proofs are generated and verified at the chain's end for every move.

The game is played using in-game currency, similar to a real casino. The winner receives their winnings directly in the form of in-game currency, which can be subsequently converted back to MINA.

How it's Made

ZKazino is an innovative approach to integrating blockchain technology into casino games, with poker being the first of its offerings. The game is built using the ZKNoid SDK, a toolkit that simplifies state management and multiplayer interactions. By utilizing the @state() decorators, StateMap, and State classes provided by ZKNoid, ZKazino ensures smooth state transitions and real-time gameplay experiences. The game's core multiplayer functionality is managed through the ZKNoid SDK's MatchMaker class, which enables seamless matchmaking, lobby creation, and game session management.

To enhance the gaming experience, ZKazino employs Protokit, allowing it to create its own Layer 2 (L2) blockchain specifically tailored to the game's needs. This app chain enables ultra-fast, low-latency transactions, addressing scalability concerns common in blockchain-based games by reducing congestion and transaction delays. The platform leverages Zero Knowledge (ZK) technology, providing an extra layer of security by ensuring that players' hands remain completely hidden from their opponents, and that every move is verified through zero-knowledge proofs on-chain.

In-game currency drives the poker matches, and winnings can be converted back into the MINA token, bringing real-world value to the gaming experience. This system mirrors the dynamics of real-world casinos, where players can enjoy a safe, provably fair, and privacy-preserving environment while competing with friends or other users in private lobbies.

With these cutting-edge features, ZKazino aims to create an unparalleled online poker experience that combines the best of blockchain, zero-knowledge proofs, and real-time multiplayer gaming, optimized for speed, privacy, and security.

background image mobile

Join the mailing list

Get the latest news and updates