diff --git a/.gitignore b/.gitignore index 661502e55544327b27011e692ab196d6320a40ac..05fb105081e8dcd27a72d3893e27802cefc66309 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ target/ # Intellij *.iml .idea/ +results.log diff --git a/runServer.sh b/runServer.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a833c7463454c10fce485414decf4a32e95e5bf --- /dev/null +++ b/runServer.sh @@ -0,0 +1 @@ +java -cp target/fireworks-server-0.1-SNAPSHOT-jar-with-dependencies.jar com.fossgalaxy.games.fireworks.NetServer --players 4 --numAI 2 -ai "pmcts[noisy[0.2:iggi]|noisy[0.2:iggi]|noisy[0.2:iggi]|noisy[0.2:iggi]|noisy[0.2:iggi]]" 2>> results.log diff --git a/src/main/java/com/fossgalaxy/games/fireworks/FunPlayer.java b/src/main/java/com/fossgalaxy/games/fireworks/FunPlayer.java index 33c4ab1ca772ac86a3fe0f9a017388ce015dc0c2..66d63eccfdaddf09cb36ec657eaf0024d8a8c647 100644 --- a/src/main/java/com/fossgalaxy/games/fireworks/FunPlayer.java +++ b/src/main/java/com/fossgalaxy/games/fireworks/FunPlayer.java @@ -22,7 +22,7 @@ public class FunPlayer { pra.addRule( new IfRule( (id, state) -> state.getInfomation() > 1, - new TellAnyoneAboutUsefulCardImproved()) + new CompleteTellUsefulCard()) ); pra.addRule(new OsawaDiscard());