Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
updated code
  • Loading branch information
Guerrero96 committed Apr 22, 2024
1 parent 63ada00 commit 0378d44
Show file tree
Hide file tree
Showing 38 changed files with 198 additions and 244 deletions.
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("ARE")); // Assuming "XYZ" does not exist in any column
assertFalse(gameLogic.checkColumns("XYZ")); // Assuming "XYZ" does not exist in any column
}

@Test
Expand Down
Binary file modified target/TicTacToe-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file modified target/classes/uta/cse3310/App.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/Broadcast.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/Game$GameStats.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/Game.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/GameLogic.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/HttpServer$1.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/HttpServer.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/Leaderboard.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/Lobby.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/PlayerType$Status.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/PlayerType.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/ServerEvent.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/UserEvent.class
Binary file not shown.
Binary file modified target/classes/uta/cse3310/UserInterface.class
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/GameLogic.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/Broadcast.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/PlayerType.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/App.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/Lobby.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/HttpServer.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/UserEvent.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/Leaderboard.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/Game.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/ServerEvent.java
/home/bmares/Repos/cse3310_sp24_group_8/src/main/java/uta/cse3310/UserInterface.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/HttpServer.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/UserEvent.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/Lobby.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/App.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/Game.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/ServerEvent.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/Broadcast.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/UserInterface.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/PlayerType.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/GameLogic.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/main/java/uta/cse3310/Leaderboard.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
uta/cse3310/UserInterfaceTest.class
uta/cse3310/GameLogicTest.class
uta/cse3310/UserInterfaceTest.class
uta/cse3310/AppTest.class
uta/cse3310/GameTest.class
uta/cse3310/GameLogicTest$MockBroadcast.class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/GameTest.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/AppTest.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/PlayerTypeTest.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/UserInterfaceTest.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/LeaderboardTest.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/App2Test.java
/home/bmares/Repos/cse3310_sp24_group_8/src/test/java/uta/cse3310/GameLogicTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/LeaderboardTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/AppTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/PlayerTypeTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/App2Test.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/GameLogicTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/UserInterfaceTest.java
/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/src/test/java/uta/cse3310/GameTest.java
62 changes: 27 additions & 35 deletions target/surefire-reports/TEST-uta.cse3310.AppTest.xml
Original file line number Diff line number Diff line change
@@ -1,62 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="uta.cse3310.AppTest" time="0.001" tests="1" errors="0" skipped="0" failures="0">
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="uta.cse3310.AppTest" time="0.215" tests="1" errors="0" skipped="0" failures="0">
<properties>
<property name="sun.desktop" value="gnome"/>
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
<property name="java.specification.version" value="11"/>
<property name="sun.cpu.isalist" value=""/>
<property name="java.specification.version" value="17"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="java.class.path" value="/home/bmares/Repos/cse3310_sp24_group_8/target/test-classes:/home/bmares/Repos/cse3310_sp24_group_8/target/classes:/home/bmares/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/bmares/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/bmares/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/bmares/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/bmares/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/bmares/.m2/repository/org/slf4j/slf4j-api/2.0.6/slf4j-api-2.0.6.jar:/home/bmares/.m2/repository/org/json/json/20210307/json-20210307.jar:"/>
<property name="java.vm.vendor" value="Ubuntu"/>
<property name="java.class.path" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/test-classes:/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/classes:/home/erikguerrero/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/erikguerrero/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/erikguerrero/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/erikguerrero/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/erikguerrero/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/erikguerrero/.m2/repository/org/slf4j/slf4j-api/2.0.6/slf4j-api-2.0.6.jar:/home/erikguerrero/.m2/repository/org/json/json/20210307/json-20210307.jar:"/>
<property name="java.vm.vendor" value="Private Build"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.vendor.url" value="https://ubuntu.com/"/>
<property name="user.timezone" value=""/>
<property name="java.vm.specification.version" value="11"/>
<property name="java.vendor.url" value="Unknown"/>
<property name="os.name" value="Linux"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="US"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-11-openjdk-amd64/lib"/>
<property name="sun.java.command" value="/home/bmares/Repos/cse3310_sp24_group_8/target/surefire/surefirebooter8947802119025335329.jar /home/bmares/Repos/cse3310_sp24_group_8/target/surefire 2024-04-16T21-43-33_094-jvmRun1 surefire17935496289490874778tmp surefire_01297627854272965179tmp"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-17-openjdk-amd64/lib"/>
<property name="sun.java.command" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/surefire/surefirebooter8004485081107483204.jar /mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/surefire 2024-04-22T16-34-46_136-jvmRun1 surefire12828586954663276155tmp surefire_09334034389907209308tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="/home/bmares/Repos/cse3310_sp24_group_8/target/test-classes:/home/bmares/Repos/cse3310_sp24_group_8/target/classes:/home/bmares/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/bmares/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/bmares/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/bmares/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/bmares/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/bmares/.m2/repository/org/slf4j/slf4j-api/2.0.6/slf4j-api-2.0.6.jar:/home/bmares/.m2/repository/org/json/json/20210307/json-20210307.jar:"/>
<property name="surefire.test.class.path" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/test-classes:/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/classes:/home/erikguerrero/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/home/erikguerrero/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/erikguerrero/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/home/erikguerrero/.m2/repository/net/freeutils/jlhttp/2.6/jlhttp-2.6.jar:/home/erikguerrero/.m2/repository/org/java-websocket/Java-WebSocket/1.5.4/Java-WebSocket-1.5.4.jar:/home/erikguerrero/.m2/repository/org/slf4j/slf4j-api/2.0.6/slf4j-api-2.0.6.jar:/home/erikguerrero/.m2/repository/org/json/json/20210307/json-20210307.jar:"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="/home/bmares"/>
<property name="user.home" value="/home/erikguerrero"/>
<property name="user.language" value="en"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2024-01-16"/>
<property name="java.home" value="/usr/lib/jvm/java-11-openjdk-amd64"/>
<property name="java.version.date" value="2023-10-17"/>
<property name="java.home" value="/usr/lib/jvm/java-17-openjdk-amd64"/>
<property name="file.separator" value="/"/>
<property name="basedir" value="/home/bmares/Repos/cse3310_sp24_group_8"/>
<property name="basedir" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="surefire.real.class.path" value="/home/bmares/Repos/cse3310_sp24_group_8/target/surefire/surefirebooter8947802119025335329.jar"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8/target/surefire/surefirebooter8004485081107483204.jar"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="11.0.22+7-post-Ubuntu-0ubuntu222.04.1"/>
<property name="user.name" value="bmares"/>
<property name="java.runtime.version" value="17.0.9+9-Ubuntu-122.04"/>
<property name="user.name" value="erikguerrero"/>
<property name="path.separator" value=":"/>
<property name="os.version" value="6.5.0-17-generic"/>
<property name="os.version" value="5.15.146.1-microsoft-standard-WSL2"/>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="file.encoding" value="UTF-8"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="localRepository" value="/home/bmares/.m2/repository"/>
<property name="java.vendor.url.bug" value="https://bugs.launchpad.net/ubuntu/+source/openjdk-lts"/>
<property name="localRepository" value="/home/erikguerrero/.m2/repository"/>
<property name="java.vendor.url.bug" value="Unknown"/>
<property name="java.io.tmpdir" value="/tmp"/>
<property name="java.version" value="11.0.22"/>
<property name="user.dir" value="/home/bmares/Repos/cse3310_sp24_group_8"/>
<property name="java.version" value="17.0.9"/>
<property name="user.dir" value="/mnt/c/Users/erikg/OneDrive/Documents/GitHub/cse3310_sp24_group_8"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="native.encoding" value="UTF-8"/>
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Ubuntu"/>
<property name="java.vm.version" value="11.0.22+7-post-Ubuntu-0ubuntu222.04.1"/>
<property name="java.specification.maintenance.version" value="2"/>
<property name="java.vendor" value="Private Build"/>
<property name="java.vm.version" value="17.0.9+9-Ubuntu-122.04"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="55.0"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="testApp" classname="uta.cse3310.AppTest" time="0"/>
<testcase name="testApp" classname="uta.cse3310.AppTest" time="0.008"/>
</testsuite>
Loading

0 comments on commit 0378d44

Please sign in to comment.