atari-representation-learning icon indicating copy to clipboard operation
atari-representation-learning copied to clipboard

RAM annotation for Blue Ghosts in MsPacman

Open MasWag opened this issue 3 years ago • 0 comments

(The following is my observation through trial and error. So it may not be 100% correct.)

In MsPacman, by default, ram[116] == 0. When MsPacman eats the Power Pellet, and the ghosts get blue, the lower 6 bits of ram[116] shows the remaining time, and the higher 2 bits show the number of the killed ghosts. For example, after two ghosts are killed, ram[116] == (remaining time) + 2 << 7.

MasWag avatar Mar 30 '21 02:03 MasWag