Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is not the test I was looking for
[troll.git]
/
src
/
test
/
java
/
Main.java
diff --git
a/src/test/java/Main.java
b/src/test/java/Main.java
index
956794c
..
1488dee
100644
(file)
--- a/
src/test/java/Main.java
+++ b/
src/test/java/Main.java
@@
-1,11
+1,18
@@
+import java.util.Properties;
+
import com.codingame.gameengine.runner.MultiplayerGameRunner;
public class Main {
public static void main(String[] args) {
import com.codingame.gameengine.runner.MultiplayerGameRunner;
public class Main {
public static void main(String[] args) {
+ Properties props = new Properties();
+ props.setProperty("seed", "3");
+ props.setProperty("ehtnicity", "ice");
MultiplayerGameRunner gameRunner = new MultiplayerGameRunner();
MultiplayerGameRunner gameRunner = new MultiplayerGameRunner();
+ gameRunner.setGameParameters(props);
+
gameRunner.addAgent(Player1.class);
gameRunner.addAgent(Player1.class);
- gameRunner.addAgent(Player
2
.class);
+ gameRunner.addAgent(Player
Rand
.class);
// gameRunner.addAgent("python3 /home/user/player.py");
// gameRunner.addAgent("python3 /home/user/player.py");