atari-representation-learning
atari-representation-learning copied to clipboard
RAM annotation for Blue Ghosts in MsPacman
(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.