Debug response without access to ram xD

This commit is contained in:
jeffcheasey88 2023-09-18 18:10:31 +02:00
parent b04bce2be6
commit cfd0114590

View file

@ -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.)));