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

Remove hard-coded point values #16

Closed
TwelveNights opened this issue Oct 3, 2016 · 1 comment
Closed

Remove hard-coded point values #16

TwelveNights opened this issue Oct 3, 2016 · 1 comment

Comments

@TwelveNights
Copy link
Member

TwelveNights commented Oct 3, 2016

We can modify the code to use the default formula to calculate points.

fu * 2^(2+han) is the equation.
e.g.
30 fu, 4 han would be
30 * 2^6 = 1920.
Basic points would be 1920.
If the non-dealer deals into the dealer, they pay 1920x6 rounded up = 11600
If someone deals into a non-dealer, they pay 1920x4 rounded up = 7700
If the dealer self-draws, all players pay 1920x2 = 3900
If the non-dealer wins by self-draw, the dealer pays 3900, and non-dealers pay 2000.

@0spooky2me
Copy link
Collaborator

Split into issues #65 and #66

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

2 participants