修改接龙计分规则
This commit is contained in:
parent
79a1bbb9c9
commit
7bd8b5a4b2
@ -98,7 +98,7 @@ public class JCSolitaireLogic {
|
||||
}
|
||||
if (score > SCORE_CHANGE_POINT) {
|
||||
double rate = score / SCORE_CHANGE_POINT;
|
||||
score = (int) (Math.atan(rate) / Math.PI * SCORE_CHANGE_POINT);
|
||||
score = (int) (((Math.atan(rate) / Math.PI * SCORE_CHANGE_POINT - 2500) * 4 + SCORE_CHANGE_POINT));
|
||||
}
|
||||
int rate = hasCard ? 2 : 1;
|
||||
return score * rate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user