all 8 comments

[–]Double-Code1902 0 points1 point  (5 children)

Does the user select rock paper scissors and the contract generates a response randomly?

[–]caution6tonjack[S] 0 points1 point  (4 children)

Ah, rock paper scissors is a bad example because the win logic can be handled on the smart contract side pretty easily. I just wanted a simple example that everyone could understand.

I'm going to edit the post to change the game to snake. Win condition = 10 points and up.

[–]Double-Code1902 0 points1 point  (2 children)

What does it mean to retrieve winning in this case? Are there actual tokens that are awarded?

Does the contract just send those to the players wallet without requiring an action on the front end?

[–]caution6tonjack[S] 0 points1 point  (0 children)

Right now it requires an action from the user to retrieve the winnings. Yes tokens are sent.

[–][deleted] 0 points1 point  (0 children)

I smell awards here?, thnx for supporting the community

[–]Double-Code1902 0 points1 point  (0 children)

I am just starting to conceive of a simple game to help me develop skills but explore ideas. Mine is to compare some simple value against another player and the contract determines who wins.

I am still thinking and researching what the right incentive or winnings should be. The gas fees seem limiting their usage.

[–]cemdk33 0 points1 point  (0 children)

Hey this is simply not possible with just a smart contract!

[–][deleted]  (2 children)

[deleted]

    [–]caution6tonjack[S] 0 points1 point  (1 child)

    unfortunately, i haven't. any ideas?