From 3dee4a10e4f432502456a96e5d8de6540a67ac4c Mon Sep 17 00:00:00 2001 From: Inga Date: Tue, 19 Nov 2024 00:57:25 +0000 Subject: [PATCH] display current outcome --- src/backend/components/boardgame.tsx | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/backend/components/boardgame.tsx b/src/backend/components/boardgame.tsx index fbbd39d..9a755cb 100644 --- a/src/backend/components/boardgame.tsx +++ b/src/backend/components/boardgame.tsx @@ -60,9 +60,28 @@ export const getBoardgameHtml = (key: string, gameState: BoardgameStateType, rul - +

+ + Player X won + + + Player O won + + + Draw + +

+ +

+ +

);