There is problem,in your bank(house) there are infinit tokens of 10X?
if not,when the tokens used over,how to do with that? the tokens are all on the player's hands!
also for the eth in your bank! you say when the eth used over,u open a new ICO,but where the tokens from?
the tokens are all on the player's handsGreat question, I actually didn't explained correctly. I will fix the description accordingly.
At the ICO I give 2000 tokens for each 1 ether. This may seems small compared with SNT for example (10,000) but it is actually a lot for this game, since they can be converted in 0.1 Eth by doing a limit sell at this price and wait that players lose their bet and their buys are coming into the buy wall at this price.
So a total of 10,000,000 max tokens are issued by the ICO with a possibility max of 5000 Ether. Once the 10 days are over, or this limit is reached, the game starts.
That's for the ICO.
But the total number of tokens issued in order to 1) run the game 2) trade, buy sell is 40,000,000 -> 10 Million being reserved for the ICO, 20 Millions send to different accounts and reserved for trading and 10 Million to supply the game. I need to clarify this in the first post. (it will be more clear by reading the contract source code)
I can mint any number of tokens to the contract account from a simple external call, I can move from the external account to the contract anytime too, there is a lot of flexibility. If there is a lot of demand, I can add more tokens. If the max cap is reached and I do not mint more, then the game stop issuing tokens but still run, and shoot an event, it is then not different than other Dice games. If I add more tokens, the game delivers tokens again.
About switching in crowdfunding, the game does it alone when there is a low supply ETH in the bank (<200), to avoid going negative in case of very bad luck for the bank.
I can manually run a new crowdfunding from externals, if I want to make a special event like a sale for christmas for example. I will do some sales once the token has taken some popularity.
From external functions I can switch the game to crowdfunding and back to the game mode any time. I can also change the crowdfunding time, and the ether/10X rate.
It sounds simple for me but I know that this contract is not easy to understand at first.