Skip to content

barthduthoit/RockPaperScissorsLizardSpochdApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A rock paper scissors lizard spock implementation relying on the blockchain with a UI and Metamask integration. The smart contract is currently deployed using the Rinkeby Ethereum TestNet. Have a look at the demonstration:

Instructions

Requirements

No requirements needed, but a way to run a local server from the project directory such as:

$ php -S localhost:8080

Deploying the smart contract

The smart contract needs to be deployed, either using Truffle or Remix. You then need to change the smart contract address in src/js/truffle by setting contractAddress to that of the deployed contract.

About the smart contract

The smart contract only allows two players to play at a time and secures the players' moves through a commit and reveal scheme. Here is the detailed logic of the application:

About

A rock paper scissors lizard spock dApp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published