Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
THE PRICE IS RIGHT
This is a guessing game with a wager
πΌ OVERVIEW
β§ Proof Of Fairness
If you look at the
game.py
file you'll see on line 113winning_number = r.randint(1,100)
This is where the random number is been chosen from 1 to 100 and if the user guesses it right he gets the award.
βοΈ NOTE
Requirements
This was tested with sandbox docker
Algorand Python SDK was used
Choice coin can implement this inovation to increase transactions and also to increase value but there would have to be a limit to avoid the players winning all the choice coin in the creators account π
ππ» RUN STEPS
πΌ FOR IMPLEMENTING THIS CODE IN CHOICE COIN
π FOR USING THE CODE AS A USER (THIS IS JUST FOR FUN)
transfer.py
file call theasset_transfer_fund
function with the appropriate arguements and also the recievers address to have the minimum amount of Tee coin to play the gamegame.py
file with the right inputs and test out your guessing skillsπ§ FOR IMPLEMENTING THIS CODE AS AN ALGORAND ASSET CREATOR
asset_creation.py
file you can also create your own asset, just navigate to the file and follow the instructions to create your own asset.create.py
file. Check out this video for more info on how to generate another address and pass phrasecreator_address
,creator_mnemonic
and theasset id
to the newly created asset and the creator address and mnemonicsβοΈ Building Tools
π ACKNOWLEDGEMENTS
Thanks to Brian Haney AKA greenrex for putting my work to use and also Thanks to the choice coin community for being here for us I am so glad to be able to contribute to the development. LETS BUILD SOMETHING GREAT !!! π§βπ»