• Blockchain Pi Experiment

  • Participate in an experiment to calculate pi from rolling dice

A smart contract has been deployed to Ethereum for inputting the results of rolling two dice. The contract keeps track of the rolls and the cumulative results can be used to calculate pi. This is a variation of Buffon's needle. Pi will not be accurate until the number of rolls is substanstially high. Each dice roll creates an event in Ethereum. Eventually, these events can be used to calculate pi for different users to determine if one user is cheating (ie fabricating dice rolls).

Status: Live

Author

Paul-Angus Bark

Software license

Unknown license

Last updated: Jan 16th, 2018
Submitted: Jan 16th, 2018
  • Mainnet contract (Ethereum)

    • Copy

This page had 18 views and 5 clicks (28% CTR) in the last 180 days