From e6733cf5e4dff480127b0fe43b104578e122ffc2 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sun, 10 Aug 2025 17:28:46 -0600 Subject: [PATCH] sistema de chat implementado --- client/src/views/DemoGame.vue | 3 + client/src/views/games/ChatWidget.vue | 242 ++++++++++++++++++++++++++ client/src/views/games/G5.vue | 15 -- server/src/rooms/GameRoom.ts | 13 ++ 4 files changed, 258 insertions(+), 15 deletions(-) create mode 100644 client/src/views/games/ChatWidget.vue diff --git a/client/src/views/DemoGame.vue b/client/src/views/DemoGame.vue index 1222fd1..641fe51 100644 --- a/client/src/views/DemoGame.vue +++ b/client/src/views/DemoGame.vue @@ -55,6 +55,8 @@ + + @@ -73,6 +75,7 @@ import G2 from './games/G2.vue'; import G3 from './games/G3.vue'; import G4 from './games/G4.vue'; import G5 from './games/G5.vue'; +import ChatWidget from './games/ChatWidget.vue'; const router = useRouter(); diff --git a/client/src/views/games/ChatWidget.vue b/client/src/views/games/ChatWidget.vue new file mode 100644 index 0000000..90ecd9e --- /dev/null +++ b/client/src/views/games/ChatWidget.vue @@ -0,0 +1,242 @@ + + + + + diff --git a/client/src/views/games/G5.vue b/client/src/views/games/G5.vue index b427b28..02b3f70 100644 --- a/client/src/views/games/G5.vue +++ b/client/src/views/games/G5.vue @@ -1,10 +1,6 @@