pacman.test.HumanTest 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
package pacman.test;
import pacman.Executor;
import pacman.controllers.HumanController;
import pacman.controllers.KeyBoardInput;
import pacman.controllers.examples.po.POCommGhosts;
/**
* Created by Piers on 22/06/2016.
*/
public class HumanTest {
public static void main(String[] args) {
Executor executor = new Executor(true, true);
KeyBoardInput input = new KeyBoardInput();
executor.runGame(new HumanController(input), new POCommGhosts(50), true, 40);
System.out.println("Ended");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy