Skip to content

bkioshn/gashapon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Gashapon Game Center!

Gashapon Game Center offers users to create their own gashapon and play the gashapon game and receive a reward!

Rules and Features

  • Player will not know the total amount of gashapon in the machine if the number of balls in the machine is higher than 30% of the total ball.
  • Player will not know the number of each item in the machine if the number of each item in the machine is higher than 30% of the total ball.
  • The price to play gashapon will be increased every time someone plays the game, the incrementation price will be set by the owner of the machine.
  • If the gashapon has less than 30% of the total ball, the price to play gashapon will be recalculated by multiplying each item to the actual price.
  • The machine will randomly select the item in the machine.
  • Only the owner can withdraw all the money received in the machine if the machine is empty

Note that for simplicity, the items and it corresponding price are fixed.

How to run the project

This project is only tested in remix using JavaScript VM (London) environment, and written with Solidity 0.8.7.

Authors

This project is developed by 💙 Arissara Chotivichit (Blue) 🍀 Atisit Pipatupatum (Boss) 🐡 Pittayut Naktaweewong (March)


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published