# RPS

A classic two-person game upgraded to a blockchain version: **Person vs Smart Contract.**&#x20;

**Game logic:**

![](https://2760143206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjOzhOkN7DZljYM9DbC4%2Fuploads%2Fup7WCkUWboVmsjBQeodp%2Fimage.png?alt=media\&token=aaa874b9-bca6-4194-af46-63d6c5ec6f69)

<mark style="color:green;">**Win:**</mark> The player doubles his money ( x2 bet amount - bet fee ). 🍀 3&#x33;**% chance.**

<mark style="color:orange;">**Draw:**</mark> The player gets back the bet amount - bet fee. 🍀 **33.33% chance.**

<mark style="color:red;">**Lose:**</mark> The player loses the bet.  **33.33% chance.**
