Skip to content

Polkaverse/vrf-poker-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Activity: Infinite deck poker using VRFs

As we learnt in class, VRFs are a way of providing private randomness that can later be publicly revealed.

A card game also has randomness, for instance, drawing a random card, which can be kept a secret until the card is played.

We can use a VRF output mod 52 to determine a card.

Challenge

Your task is to create a poker game or a simplification of one that uses VRFs to determine a players' card.

Possible simplifications

Card-less poker - There are no hands. The player with the highest VRF revealed at the end should win the game but with the usual poker bidding rules.

Or we can simplify bidding etc.

Run the code

cd poker_activity
cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages