This page gives a short tutorial on the ICE Pambush 3 * Preparation * Please install JDK from [[http://www.oracle.com/technetwork/java/javase/downloads/index.html|]]\\ * Download “ICE Pambush 3” source code from [[http://dces.essex.ac.uk/staff/sml/pacman/CIG2009Results.html|]]\\ * Unzip the source codes \\ * Compile the source codes (command prompt) \\ * javac main/MsPacInterface.java –encoding shift-jis * Run Ms. PacMan through http://www.webpacman.com/\\ * Execute the controller\\ * java main/MsPacInterface {{youtube>D4JgAQtdKL8?small}} * Tutorial 1 * Open algorithm/Agent.java * Comment out "if(gp.study==null) ~ direction=i+1;break;}}" (the rules of ICE Pambush 3) in the decide() function. * Add the below code after "length=gp.distBorder;" if(Exist(gp.num_pp)) direction = as.run(gp.num_pp); // move to the closest power pill {{youtube>q9j0JCD1C7c?small}} * Tutorial 2 * Comment out the new code in the Tutorial 1 * Add the below code after "length=gp.distBorder;" if (Exist(gp.num_pill)) direction = as.run(gp.num_pill); // move to the closest pill {{youtube>TJI5m-ZPMVI?small}} * Tutorial 3 * Comment out the new code in the Tutorial 2 * Add the below code after "length=gp.distBorder;" if (Exist(gp.num_pp)) direction = as.run(gp.num_pp); // move to the closest power pill else if (Exist(gp.num_pill)) direction = as.run(gp.num_pill); // move to the closest pill {{youtube>GGsiO6qMZHo?small}} * Tutorial 4 * Comment out the new code in the Tutorial 3 * Add the below code after "length=gp.distBorder;" if (Exist(gp.num_edible)) direction = as.run(gp.num_edible); // move to the edible ghost else if (Exist(gp.num_pp)) direction = as.run(gp.num_pp); // move to the closest power pill else if (Exist(gp.num_pill)) direction = as.run(gp.num_pill); // move to the closest pill {{youtube>2sBkM98e1Ww?small}}