From ae8f7ebe553a616de883749f191c06f3d16949df Mon Sep 17 00:00:00 2001 From: Zak G Date: Mon, 2 Oct 2023 10:06:30 -0600 Subject: [PATCH] Update README.md --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 85933a0..d7eb1de 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,16 @@ # Dice Demonstration +Random numbers, dice images and animations can be taken from the dice challenge repo here:
+https://github.com/scaffold-eth/se-2-challenges/tree/challenge-3-dice-game + +Live view of this repo for context:
+https://buidlguidl-g33iv38ol-brycehytans-projects.vercel.app/dice + ### Project Overview -This will become a demonstration to use during presentations with a live audience using their phones to participate. A host will control the metrics of the game, and control a private key that will contain sone Eth the users are trying to win. The host determines how many dice can be rolled and what rolling mode the users will be using. The users will try to roll their dice to match the hosts. If they do, some of the prize money is sent to them along with a winning message. Eventually the hosts number will have too many characters (dice) for the users to be able to match. This will show the security of a 64 character private key. +This will become a demonstration to use during presentations with a live audience using their phones to participate. A host will control the metrics of the game, and control a private key that will contain some value the users are trying to win. The host determines how many dice can be rolled and what rolling mode the users will be using. The users will try to roll their dice to match the hosts. If they do, some of the prize money is sent to them along with a winning message. Eventually the hosts number will have too many characters (dice) for the users to be able to match. This will show the security of a 64 character private key. ### Dice -- The dice values will be HEX (0-F) +- Each dice will have a value in HEX (0-F) - Dice images and rolling animations can be grabbed from the Dice Challenge repo at the top of this page. ### Host @@ -12,20 +18,20 @@ This will become a demonstration to use during presentations with a live audienc - The host can update the rolling mode. - The host can enable/disable user rolling. This may be necessary for updating the dice count and modes. - The host computer will be on display at the presentations. What information is necessary to show/hide? - -### Roll Modes -- Users click a roll button to manually roll the dice once. This will mostly be used when there is a small number of dice. -- Users click a button to start the continous rolling of dice. It will automatically keep rolling until manually stopped or it finds the match. -- Users click a button to start continous rolling, but this time all users are coordinating trying to guess different numbers of the hosts instead of racing. Namespaces can be used here. Austin can put together a quick algorithm to accompolish this, or feel free to tackle it yourself. +- Maybe the host can do an initial roll on the big screen to get their number? +- We should display winners on the host screen so everyone can see when there was a winner. ### Users - The users should see a cool dice rolling display on their (phone) screens. This will get tricky as more dice are added, up to a max of 64. - If they match the hosts, a cool winning message will be display and some of the value in the hosts private key will be sent to them. Need a cool message they can show off to others. - -### Rolling - All the user's dice will roll at the same time. e.g if the count of dice is currently 24, and example roll from a user would be F18053525893D3537EAB615C - They should see a cool animation when rolling +### Roll Modes +- Users click a roll button to manually roll the dice once. This will mostly be used when there is a small number of dice. +- Users click a button to start the continous rolling of dice. It will automatically keep rolling until manually stopped or it finds the match. +- Users click a button to start continous rolling, but this time all users are coordinating trying to guess different numbers of the hosts instead of racing. Namespaces can be used here. Austin can put together a quick algorithm to accompolish this, or feel free to tackle it yourself. + ## Contributing Step by step "fork-and-pull" Github contributing using CLI refresher here: