[tmp] remove score loss
This commit is contained in:
parent
8a138b52d6
commit
26514c0961
1 changed files with 4 additions and 3 deletions
|
@ -67,7 +67,8 @@ public class Completion{
|
|||
tries++;
|
||||
if (response != null && Arrays.equals(currentPuzzle.getSoluce(), response)){
|
||||
if (tries > 1) { // Loose 5% each try with a minimum of 1 for score
|
||||
score = (int) Math.ceil(currentPuzzle.getScoreMax() * (1 - ((tries - 1) / 20.)));
|
||||
// score = (int) Math.ceil(currentPuzzle.getScoreMax() * (1 - ((tries - 1) / 20.)));
|
||||
score = currentPuzzle.getScoreMax();
|
||||
if (score < 1)
|
||||
score = 1;
|
||||
} else
|
||||
|
|
Loading…
Add table
Reference in a new issue