Implemented UI #10

Merged
KylerOlsen merged 11 commits from kyler/ui into master 2025-04-25 10:27:48 -06:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 2f710acba0 - Show all commits

View File

@ -90,6 +90,8 @@ class Game:
for player_url, current_url in zip(url.strip('/').split('/'), self.__current_url_parts):
if player_url == current_url:
partially_correct.append(current_url)
else:
break
if partially_correct:
player.guess_partial_correct(f"/{'/'.join(partially_correct)}")
self.__round_points[self.__clients.index(player)] = len(partially_correct)