Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent player with no coins from gambling #5

Closed
tagniam opened this issue Oct 12, 2017 · 2 comments
Closed

Prevent player with no coins from gambling #5

tagniam opened this issue Oct 12, 2017 · 2 comments

Comments

@tagniam
Copy link
Owner

tagniam commented Oct 12, 2017

See Gambling.cpp. Gambling can only occur when the player has at least the same amount of coins as CoinsDeduction. Check if the player has enough coins after GenerateValues() method is called. If they don't, return to the intermission menu.

@yati1998
Copy link

can i do this?

@parrajustin
Copy link
Contributor

working on it

tagniam added a commit that referenced this issue Oct 14, 2017
@tagniam
Copy link
Owner Author

tagniam commented Oct 19, 2017

Fixed by #25

@tagniam tagniam closed this as completed Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants