Skip to content

Commit

Permalink
release: v24.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Aug 11, 2023
1 parent d12a21b commit c0a135d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
socha.gameName=penguins
socha.version.year=24
socha.version.minor=00
socha.version.patch=03
socha.version.patch=04
2 changes: 1 addition & 1 deletion gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ val javaTargetVersion = JavaVersion.VERSION_1_8
val javaVersion = JavaVersion.current()
println("Current version: $version (Beta: $isBeta) Game: $game (Java Version: $javaVersion)")
if (javaVersion != javaTargetVersion)
System.err.println("Java version $javaTargetVersion is recommended - expect issues with generating documentation (consider using '-x doc' if you don't care)")
System.err.println("Java version $javaTargetVersion is recommended - expect issues with generating documentation (consider '-x doc' if you don't care)")

val doAfterEvaluate = ArrayList<(Project) -> Unit>()
tasks {
Expand Down
3 changes: 1 addition & 2 deletions plugin/src/test/kotlin/sc/plugin2024/GameStateTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class GameStateTest: FunSpec({
ship.movement = 3
gameState.checkAdvanceLimit(ship).run {
distance shouldBe 1
costUntil(1) shouldBe 3
costUntil(1) shouldBe 2
problem shouldBe AdvanceProblem.SHIP_ALREADY_IN_TARGET
}
}
Expand Down Expand Up @@ -163,7 +163,6 @@ class GameStateTest: FunSpec({
}
test("pushing and current") {
gameState.otherShip.position = CubeCoordinates.ORIGIN + CubeDirection.LEFT.vector
gameState.getSensibleMoves() shouldNotContain Move(Acceleration(1), Turn(CubeDirection.DOWN_RIGHT), Advance(1), Push(CubeDirection.DOWN_LEFT))
gameState.getSensibleMoves() shouldContain Move(Acceleration(2), Turn(CubeDirection.DOWN_RIGHT), Advance(1), Push(CubeDirection.DOWN_LEFT))

ship.freeTurns = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void clientSendPacketTest() throws IOException {

client.start();
client.send(new ExamplePacket());
stringInterface.close();
// TODO this attempts to close a closed stream: client.close();
String data = stringInterface.readData();
assertEquals("<protocol>\n <example/>", data);
}
Expand Down

0 comments on commit c0a135d

Please sign in to comment.