Debug response without access to ram xD
This commit is contained in:
parent
b04bce2be6
commit
cfd0114590
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ public class Completion{
|
|||
if (score <= 0){
|
||||
tries++;
|
||||
System.out.println("debug try");
|
||||
System.out.println(currentPuzzle.getSoluce());
|
||||
System.out.println(response);
|
||||
System.out.println(Arrays.toString(currentPuzzle.getSoluce()));
|
||||
System.out.println(Arrays.toString(response));
|
||||
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.)));
|
||||
|
|
Loading…
Add table
Reference in a new issue