These are the solidity smart contracts for a game of rock - paper - scissors that uses chainlink random number generator. The game can quickly be customized to any other form of game of chances. This version of the game use it's own token, and people can only play using the game token, which is an erc20 token. When people bet, they send their token to the contract and it keeps it they lose, or give more if they win...

If the contract run out of tokens to give as rewards, it will automatically mint some new tokens.

This code is provided as is with no guarantees of safety.