CodinGame / codingame-game-engine

CodinGame Engine
https://www.codingame.com
MIT License
112 stars 41 forks source link

addCommandLinePlayer doesn't exist #8

Closed jpeg729 closed 6 years ago

jpeg729 commented 6 years ago

The readme at https://github.com/CodinGame/codingame-game-engine/tree/master/runner says you can do this

gameRunner.addJavaPlayer(Player.class);
gameRunner.addCommandLinePlayer("python3 /home/user/player2.py");

but it doesn't work. The following does work

gameRunner.addAgent(Player.class);
gameRunner.addAgent("python3 /home/user/player2.py");
CGjupoulton commented 6 years ago

Fixed https://github.com/CodinGame/codingame-game-engine/commit/8f2d7a8f84161939af26ed59c11d6b10649d3144