Your game script doesn't look 2 good, there is completely NO protection for users, especially relating to transaction history, - deposits & withdrawals.
Should these issues arise, USERS HAD COMPLETELY no proof to substantiate >> especially when the operator of the game is an unethical person >> I would say 99% of the game operators are dishonest.
I'm configuring it for next version.
Also you're right, a lot of operator is an unethical, because of maybe gambling sector is illegal in most of country.