A simple dice rolling application.
Dice is a lightweight application that allows you to roll virtual dice. It can be used for various purposes such as board games. When a game is started, a commitment fee of 20 sats is deducted from the user’s wallet, and a number is generated randomly between 2 and 12 and stored. After a game has been started, the user can roll dice twice, and the result of both dice rolls is summed up. If the sum of the 2 numbers is equal to the number generated at game start-up, the user wins 10 sats.The user can roll dice as many times as he wants in a single game; however, each dice roll duo costs the user 5 sats and should be charged on the first die roll of the duo.
- Roll dice
- Win or Lose game
- View transaction log
- Calculate the total sum of all rolls
- Clone the repository: git clone https://github.com/manlikeNacho/Dice.git
- Navigate to the project directory: cd Dice
- Install the necessary dependencies: go get
This project is licensed under the MIT License.