From b29518b270f1eff466414c530ce2759152e8e7ca Mon Sep 17 00:00:00 2001 From: Guerrero96 Date: Sun, 21 Apr 2024 19:23:14 -0500 Subject: [PATCH] html update --- html/index.html | 4 ++-- src/test/java/uta/cse3310/GameLogicTest.java | 2 +- .../cse3310/GameLogicTest$MockBroadcast.class | Bin 908 -> 902 bytes .../uta/cse3310/GameLogicTest.class | Bin 4049 -> 4058 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/index.html b/html/index.html index a6792de..dbf7506 100644 --- a/html/index.html +++ b/html/index.html @@ -77,8 +77,6 @@ padding: 5px 20px; border-radius: 5px; } - - /* Additional CSS styles can go here */ @@ -227,6 +225,8 @@

Leaderboard

// Add code here to highlight the word in the grid with the specified color console.log("Highlighting word '" + word + "' with color: " + color); } + + window.onload = function() { // Create a WebSocket connection to the server var serverUrl = "ws://" + window.location.hostname + ":9108"; diff --git a/src/test/java/uta/cse3310/GameLogicTest.java b/src/test/java/uta/cse3310/GameLogicTest.java index 12cab80..8f363c4 100644 --- a/src/test/java/uta/cse3310/GameLogicTest.java +++ b/src/test/java/uta/cse3310/GameLogicTest.java @@ -89,7 +89,7 @@ public void testCalculateFillerPercentage() { @Test public void testCheckColumns() { gameLogic.gridGenerator(); // Generate a random word grid - assertFalse(gameLogic.checkColumns("XYZ")); // Assuming "XYZ" does not exist in any column + assertFalse(gameLogic.checkColumns("ARE")); // Assuming "XYZ" does not exist in any column } @Test diff --git a/target/test-classes/uta/cse3310/GameLogicTest$MockBroadcast.class b/target/test-classes/uta/cse3310/GameLogicTest$MockBroadcast.class index fe793f45091cf0ed68f458c1830e4ced47766bcd..b69c4d5bc664fdf39c154ae552827cc04239cea5 100644 GIT binary patch delta 452 zcmYL^%TB^j5QhKLst3xURPLZ4UQj3sx^gcjYT|9Baapl3Ac2Gy6Ibk9;iBn7xHgdx zHSqylxb`)C0pqlixHxD2IrGmqbB6q$hd+K^-vMl+#v!@iOwVvkF=#F0)~L0O&UNkN zvSl`Gjv2QqWu2|ZTo4Si0wD+mGGYQ@#2MsL`HUm!ezIglK>{()mJ#3xIA5Er>hBS(=TkA(?!mzW+^=+8)3 vUQm#5{tr|9T8j2b`<&#Tcf#?wt5_qFj1n;gCxpt+n3Pcek4({y=|4#E cixikcmPj(@i6J3}g&^jUqNq@X)4e+I1?65jp#T5? diff --git a/target/test-classes/uta/cse3310/GameLogicTest.class b/target/test-classes/uta/cse3310/GameLogicTest.class index ea0fb81d9eff77fa6f98c7cca18e5ab061551a61..916a565bde0e38060ed39caeaac395541e212a03 100644 GIT binary patch literal 4058 zcma)9i&qra8UGE7?t=kjMGesaMj|XWtcr;ih{!_}U625-L6X>EcU%T`XV!U$q^E8A zNS{fYHYZKmoTTrjO`mBMF!tE={rH=DdiuLFv%9mnC#RePbMM^me!t)M`@Zkq;otxL z;68wp_*WQp651SFNoFjyzyH|L-d@%i!~QB#RWcE4ho#z=i_~(~(QU1urZr2WixFKn zY{k|LogV1j%q3SGl1h%M*9}u04C7%5yDQ?1n5MEW6pEn@Em25#L`E2qFghgc4GLXR zC4z(0+M6GX;1DAn%{yuokD)t^!*o%5U)LO&IhKqbB0Blh9EWXa&c&AB>?L zM}&kQlQ7ZarOvI6IoqUz!5VKqlE7dh-GDwE4I?R`siK9DLB=s0X9AUMR>Gbjm{*E} ziK}6pkkB1OsLD;(RIprP=*N?S`$-AyJyn5L?II^3{>NoBKn{Zm-cu7Hh50>=nbzS`nOO8rL{vncD2cNh@7i6zxz-gMX&^*vV; z=?LcNTsL&}789fDEYT@kmXQ|b4W9XglDBBzC>RSpSz#va2CyLGs%W{WCEkdoC^PY_ zjORq)k%DSjN={|i*GNe$ce;jFr*5nr6xE@~SQ3>G$r!q=Xri5V3zRw4b_JU-jl$*G zR0M=yUAFC_HIPi2%35DevzMJEhoOm`q}`V>3P~o@vYjlaR_WxsW)+X0xRx^wr+DpD zvOtWaWoEpAUzC+oQe?*Jvv0Y<4@dZ&ddrDvrSbR~&m+)mOPZ6sY-7|lj;av|p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