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:
No requirements needed, but a way to run a local server from the project directory such as:
$ php -S localhost:8080
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.
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: