Skip to content

A game of Russian Roulette, expressed in Solidity on Ethereum blockchain

Notifications You must be signed in to change notification settings

lukmusial/ethereum-roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roulette in Solidity

A learning project to demonstrate a simple game implemented as a contract on an Ethereum blockchain.

TODO:

  • prototype/learning exercise (multiplexer)
    • multiplexer function created with test coverage
  • replace sample code with placeholders for actual contract.
  • write tests to describe happy/unhappy cases
  • integrate Oraclize - Random (challenge - how to test with testrpc)
  • build a simple DApp UI

Testing on testrpc

Does not work yet for Roulette.sol as Random is not yet available for private chains

requires ethereum-bridge

testrpc --mnemonic "roulette" --accounts 50 node bridge -a 49

and then replace OAR value in Roulette.sol with one provided in the log remove OAR from production code

About

A game of Russian Roulette, expressed in Solidity on Ethereum blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published