diff --git a/.idea/hellsgamers.iml b/.idea/hellsgamers.iml index 72c76be..74774b6 100644 --- a/.idea/hellsgamers.iml +++ b/.idea/hellsgamers.iml @@ -14,13 +14,13 @@ - - + + - + - - - + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_9_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_1.xml similarity index 58% rename from .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_9_2.xml rename to .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_1.xml index 1b189a7..987e7d4 100644 --- a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_9_2.xml +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_9_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_1.xml similarity index 55% rename from .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_9_2.xml rename to .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_1.xml index e5cf963..4910ca9 100644 --- a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_9_2.xml +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_9_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_1.xml similarity index 65% rename from .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_9_2.xml rename to .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_1.xml index b181218..85ab9ad 100644 --- a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_9_2.xml +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_9_2.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_1.xml similarity index 65% rename from .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_9_2.xml rename to .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_1.xml index 3ee66e9..8675273 100644 --- a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_9_2.xml +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_9_2.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_1.xml similarity index 65% rename from .idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_9_2.xml rename to .idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_1.xml index 38b9aa2..3417208 100644 --- a/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_9_2.xml +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_9_2.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_1.xml similarity index 65% rename from .idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_9_2.xml rename to .idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_1.xml index ecbd84e..f19b408 100644 --- a/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_9_2.xml +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 0acf85b..45a3e86 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,20 @@ 17 + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M5 + + false + + + + + + junit @@ -22,7 +36,7 @@ org.junit.jupiter junit-jupiter - RELEASE + 5.8.1 test diff --git a/src/main/java/PingPong/GamePanel.java b/src/main/java/PingPong/GamePanel.java index d731f9b..d9e8dc6 100644 --- a/src/main/java/PingPong/GamePanel.java +++ b/src/main/java/PingPong/GamePanel.java @@ -98,10 +98,6 @@ public class GamePanel extends JPanel implements Runnable { } } - - - - public void run() { long lastTime = System.nanoTime(); double amountOfTicks = 60.0; diff --git a/src/test_/java/CollisionCheckerTest.java b/src/test_/java/CollisionCheckerTest.java new file mode 100644 index 0000000..78b955d --- /dev/null +++ b/src/test_/java/CollisionCheckerTest.java @@ -0,0 +1,2 @@ +public class CollisionCheckerTest { +} diff --git a/target/classes/PingPong/GamePanel$AL.class b/target/classes/PingPong/GamePanel$AL.class index 8592c1a..38e42d2 100644 Binary files a/target/classes/PingPong/GamePanel$AL.class and b/target/classes/PingPong/GamePanel$AL.class differ diff --git a/target/classes/PingPong/GamePanel.class b/target/classes/PingPong/GamePanel.class index 194c31a..5dd0342 100644 Binary files a/target/classes/PingPong/GamePanel.class and b/target/classes/PingPong/GamePanel.class differ diff --git a/target/hellsgamers-1.0-SNAPSHOT.jar b/target/hellsgamers-1.0-SNAPSHOT.jar index ea3a279..0adfec4 100644 Binary files a/target/hellsgamers-1.0-SNAPSHOT.jar and b/target/hellsgamers-1.0-SNAPSHOT.jar differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index e6bd5fe..a3f66d2 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Wed Feb 08 20:10:52 CET 2023 +#Wed Feb 08 21:32:53 CET 2023 groupId=Hellsgamers artifactId=hellsgamers version=1.0-SNAPSHOT diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst index 3ecedd5..c11ae49 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -21,6 +21,8 @@ BattleShip\AIGridGUI$DirectionCompare.class BattleShip\AIGridGUI.class Snake\Snake$SnakeDirection.class Snake\SnakeView.class +BattleShip\BShip$IncomingGuessReader.class +BattleShip\BShip$ShipsPlacedReader.class Snake\AppleView.class Snake\Controller$3.class Snake\TextView.class diff --git a/target/test-classes/AIGridGUITest.class b/target/test-classes/AIGridGUITest.class deleted file mode 100644 index 073325f..0000000 Binary files a/target/test-classes/AIGridGUITest.class and /dev/null differ