You are viewing a single comment's thread from:

RE: Announcing my next game, and auditioning for players.

in #monopoly8 years ago

An interesting idea for dicerolls that i was thinking about for other random number stuff. If the player just posts "roll 2D6" you can take the transaction sig from the post (which i think is random) and convert it to 2D6.

So its a hex#, so you can use an algorythim to get 2 random numbers between 1 and 6. Like maybe divide by 2, and if the result is greater than 6 move on to the next least significant digit until you have 2 rolls.

This may be a bit much for monopoly, but ive been thinking about how to incorporate random number generation into the blockchain for other types of games.

example below:

Sort:  

SO we can look at the transaction that put this post on the blockchain here: https://steemd.com/tx/d86423c91f18ce61355e6335b6f3e1969adb1946

We could take the signature or the transaction ID, (i think both are random-ish, or at least unpredictable if not you could hash it)

before hand, we can set algorythims to get 2D6 out of say the sig. Something like start with the least siginficant digit. Turn it into a decimal. If its a 15, 14, 0, or 1 skip to the next digit. Otherwise, divide by 2 and drop and .5s.

so the last 3 digits of the sig are 603
the zero gets skipped, and we have a 1 and a 3.

just some interesting deep thoughts about on chain gaming.

Or we could try to integrate with PeerPlays once it's up and running.

didnt it take them like a year to bring rock-paper-siccors online (and no, i dont believe that rock paper sccissors was the hard part and its all downhill from there)

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.028
BTC 59926.69
ETH 2622.88
USDT 1.00
SBD 2.38