Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners". upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners". upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners". upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort". upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort". upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort". upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort". upgrade now! [48.2] (what's this?)

Game AI Competition Portal

This is an old revision of the document!


You have three options to start the Ms. Pac-Man competition.

Option 1) JAVA code + WebPacMan.com

  • For the original version, you need to configure the color of objects and the position of the game screen.

Option 2) C# code + Microsoft Revenge of Arcade

  • It supports automatic detection of game screen. However, you need to get the Microsoft Revenge of Aracade (from store). We bought the SW from Amazon.com

Option 3) You can simply download ICE Pambush 3 source code (JAVA + WebPacMan)and start from it. It is composed of about ten rules with A* search algorithm. It supports automatic detection of gme screen.

The Adobe Flash Plugin is needed to display this content.
ICE Pambush 5

Option 1

It is a toolkit provided by the competition organizer.

Download : Click

You need to configure the RGB code for the ghosts and the X-Y position of game screen in the MsPacInterface.Java code. You can start the sample controller.

java pacman.MsPacInterface

In the toolkit, there is an example controller code. It simply moves to the closest pill.

public int move(GameState gs) {
  // let's say we move towards the
  // simple controller that tries to move towards the nearest power pill
  // set up a rogue value for the move, and a large value for the closest pill
  move = -1;
  double best = 100000;
  for (int i = 0; i < dirs.length; i++) {
    if (d[i] > 12) {
      tmp.set(cur);
      tmp.add(vDirs[i]);
      // System.out.println(i + "\t " + eval(tmp, gs));
      if (eval(tmp, gs) < best) {
        move = i;
        best = eval(tmp, gs);
      }
    }
  }
  if (move < 0) {
    System.out.println("Move error: " + move);
  }
  // the +1 is to map the move into a range of joystick actions
  // where '0' is centre position
  move += 1;
  return move;
}

public double eval(Vector2d pos, GameState gs) {
  if (gs.closestPill != null) {
    return pos.dist(gs.closestPill);
  } else {
    return 0;
  }
}

Option 2

Download : Click

It automatically detects the position of the game screen. You don't need to reconfigure the color of the ghosts.

You can open the project from the package using Visual Studio 2008. It also supports the simulator for the Ms. Pac-Man controller.

You can control the program from the user interface.