
pacman.test.ExecutorTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pacman-main Show documentation
Show all versions of pacman-main Show documentation
The main code for Ms. Pac-Man Vs Ghosts
The newest version!
package pacman.test;
import pacman.Executor;
import pacman.controllers.examples.po.POCommGhosts;
import pacman.controllers.examples.po.POPacMan;
/**
* Created by piers on 29/09/16.
*/
public class ExecutorTest {
public static void main(String[] args) {
Executor executor = new Executor.Builder()
.setTickLimit(4000)
.setPeek(g -> "Score: " + g.getScore())
.build();
executor.runExperiment(
new POPacMan(),
new POCommGhosts(50),
10,
"POP Vs POGC"
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy