From c1976615718a5a201d6f6a4fb9250a28e4dd2c97 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Thu, 12 Dec 2024 09:20:42 +0100 Subject: [PATCH] return guess once solved --- src/cemantix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cemantix.py b/src/cemantix.py index 6e43cc0..9815b41 100644 --- a/src/cemantix.py +++ b/src/cemantix.py @@ -294,7 +294,8 @@ def cemantix(server: Server, client: Client): rank = server.get_rank(guess) client.answer_guess(guess, dist, rank) if rank == 1000: - return client.correct(guess) + client.correct(guess) + return guess