[Community Puzzle] Snake

Thanks a lot,
in fact you were right
My code output " \n" instead of β€œ15 10\n”
And the space followed by new line \n trigger this error.

Add a trim like this would remove the error I hope. But it was clearly user mistake (mine). :sweat_smile:
String ans = outputs.get(0).trim();
:smiley:

Thanks a lot for details of score by the way, combo mechanism and points remover are exactly what I needed to understand, I can now safely plunge in A* best path thanks to you!

1 Like

My DQN Neural Network score ~3950000, it’s not enough for me !!! Have you some advice people ?

The source code is here: NOW AVAILABLE on GitHub :slight_smile: