From 153911e167f326ef9dfb258d966e10a2c04751ac Mon Sep 17 00:00:00 2001 From: leaf185 <146728247+leaf185@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:23:24 +0000 Subject: [PATCH 1/2] chore: add Congratulations message --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3ed2224..69b28b2 100644 --- a/main.py +++ b/main.py @@ -112,7 +112,7 @@ def space_exist(): # if won: # TODO - + result = '*** Congrats ! You won ! ***' break elif computer_move()[1]: result = '=== You lose ! ==' From df770361ec56c8cfacac8eff5b4967ab2d72cf98 Mon Sep 17 00:00:00 2001 From: leaf185 <146728247+leaf185@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:26:47 +0000 Subject: [PATCH 2/2] chore: change winning and losing message --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 3ed2224..7e9f63c 100644 --- a/main.py +++ b/main.py @@ -112,10 +112,10 @@ def space_exist(): # if won: # TODO - + result = 'Congrats ! You won !' break elif computer_move()[1]: - result = '=== You lose ! ==' + result = 'You lose !' break print_board() print(result) \ No newline at end of file