Skip to content

Commit

Permalink
html
Browse files Browse the repository at this point in the history
update
  • Loading branch information
Guerrero96 committed Apr 22, 2024
1 parent 9b62432 commit b29518b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
padding: 5px 20px;
border-radius: 5px;
}

/* Additional CSS styles can go here */
</style>
</head>
<body>
Expand Down Expand Up @@ -227,6 +225,8 @@ <h3>Leaderboard</h3>
// 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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/uta/cse3310/GameLogicTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file not shown.
Binary file modified target/test-classes/uta/cse3310/GameLogicTest.class
Binary file not shown.

0 comments on commit b29518b

Please sign in to comment.