dayo92/SoltMachine

Double increase balance

Closed this issue · 0 comments

image
In the current implementation you increase the balance twice:

  • first directly when detecting the winning row
  • and second when checking match found

--> this could be merged into one place.

Also think about, how you want to grant winnings to the user? Currently on a win you refund the origin bet and additionally grant the WINNING (which is currently 1)

A much nice way would be to use multiplicator for example:
when winning a row the user receives twice the original bet :D
You could then also extend this, for example to grand 3 times the win when hitting two lines and so on...