id: BL-056
title: A long game by the search bot (long3)
shows: The bot of Stage E7 playing on past the first level (stella_bot route (seed 3): level end at frame 7074, game over at frame -1): levels, deaths, the speed of Pac-Man and the ghosts in each level, the bonus item.
inputs: BL-056.inputs
frames: 36300
rom_sha1: 0940fea7f04cdb6d4b90c5ad1a7e344e68f6dbb1
trace_sha256: b6c225fa71f13389ecba09da757d4922d2337fa9af9755b6f949d7b012bc2833
trace_bytes: 10951616
observations:
  Frames are counted from power-on (frame 0). Memory bytes are named by their address; the meanings are working labels
  (Stages C6 and C7, docs\CONTROLS.md and docs\CAPTURES.md), not yet confirmed (Phase F). Every number below was read from the trace.
  - Game Reset on frame 1800 starts the game; play begins on frame 1927. Input: stella_bot route (seed 3): level end at frame 7074, game over at frame -1 (the route script of `stella_bot ... long`, turned into a recording; 300 idle frames added at the end).
  - No game over within the entry; 4 deaths; the score at the end is 4094 (4 lives left); 36300 frames in all.
  - Levels: the wafer map refills (a level is cleared) on frames 7074, 12728, 18254, 23300, 29116: 5 levels cleared, a 6 level reached. Lives counter at each refill: 4, 5, 5, 6, 7.
  - Level 1 (frames 1927-7074): Pac-Man frames between steps: 1 frames: 481, 2 frames: 1671, 3 frames: 1 (2153 steps). Ghost 0 frames between changes of place: 4 frames: 1242 (1242 steps); sizes of the changes of place of all four ghosts: 1 px: 2927, 2 px: 1971, 10 px: 1, 12 px: 1, 74 px: 1 (average 1.42 pixels per change).
  - Level 1: power pill windows frames 2226-2673 (448 frames); frames 3545-4023 (479 frames); frames 4525-4939 (415 frames); frames 5045-5427 (383 frames); bonus item on the board frames 3071-3096 (26 frames, 1144 frames after the level began, 55 wafers eaten by then).
  - Level 2 (frames 7074-12728): Pac-Man frames between steps: 1 frames: 472, 2 frames: 1643, 3 frames: 1 (2116 steps). Ghost 0 frames between changes of place: 4 frames: 1256 (1256 steps); sizes of the changes of place of all four ghosts: 1 px: 2074, 2 px: 2988, 10 px: 1, 12 px: 1, 74 px: 1 (average 1.61 pixels per change).
  - Level 2: power pill windows frames 7745-8255 (511 frames); frames 8556-8971 (416 frames); frames 9453-9963 (511 frames); frames 11927-12341 (415 frames); bonus item on the board frames 7679-8044 (366 frames, 605 frames after the level began, 29 wafers eaten by then); frames 12543-12727 (185 frames, 5469 frames after the level began, 125 wafers eaten by then).
  - Level 3 (frames 12728-18254): Pac-Man frames between steps: 1 frames: 499, 2 frames: 1740, 3 frames: 2 (2241 steps). Ghost 0 frames between changes of place: 4 frames: 1244 (1244 steps); sizes of the changes of place of all four ghosts: 1 px: 1065, 2 px: 3786 (average 1.78 pixels per change).
  - Level 3: power pill windows frames 13355-13769 (415 frames); frames 13860-14243 (384 frames); frames 15152-15567 (416 frames); frames 15933-16411 (479 frames); bonus item on the board frames 12728-12963 (236 frames, 0 frames after the level began, 0 wafers eaten by then); frames 17407-17956 (550 frames, 4679 frames after the level began, 124 wafers eaten by then).
  - Level 4 (frames 18254-23300): Pac-Man frames between steps: 1 frames: 473, 2 frames: 1650, 3 frames: 2 (2125 steps). Ghost 0 frames between changes of place: 4 frames: 1021 (1021 steps); sizes of the changes of place of all four ghosts: 1 px: 277, 2 px: 3673, 3 px: 131, 10 px: 1, 13 px: 1 (average 1.97 pixels per change).
  - Level 4: power pill windows frames 18594-19105 (512 frames); frames 19344-19791 (448 frames); frames 20013-20523 (511 frames); frames 21537-22047 (511 frames); bonus item on the board frames 22527-22796 (270 frames, 4273 frames after the level began, 123 wafers eaten by then).
  - Level 5 (frames 23300-29116): Pac-Man frames between steps: 1 frames: 476, 2 frames: 1674, 3 frames: 1 (2151 steps). Ghost 0 frames between changes of place: 4 frames: 1353, 8 frames: 1 (1354 steps); sizes of the changes of place of all four ghosts: 1 px: 36, 2 px: 4282, 3 px: 777, 10 px: 1, 12 px: 1, 74 px: 1 (average 2.16 pixels per change).
  - Level 5: power pill windows frames 24092-24507 (416 frames); frames 25012-25427 (416 frames); frames 26483-26961 (479 frames); frames 27163-27609 (447 frames); bonus item on the board frames 27391-28114 (724 frames, 4091 frames after the level began, 116 wafers eaten by then).
  - Level 6 (frames 29116-36299): Pac-Man frames between steps: 1 frames: 547, 2 frames: 1904, 3 frames: 1 (2452 steps). Ghost 0 frames between changes of place: 4 frames: 1475 (1475 steps); sizes of the changes of place of all four ghosts: 1 px: 107, 2 px: 3720, 3 px: 1919, 10 px: 3, 12 px: 1, 13 px: 1, 14 px: 1, 16 px: 1, 74 px: 2, 90 px: 1 (average 2.37 pixels per change).
  - Level 6: power pill windows frames 29842-30257 (416 frames); frames 30664-31111 (448 frames); frames 32025-32471 (447 frames); frames 33483-33961 (479 frames); bonus item on the board frames 32511-32548 (38 frames, 3395 frames after the level began, 93 wafers eaten by then).
  - Score rises of 21 (not a wafer, pill or ghost value): 1 times, on frames 15978; at the first, Pac-Man is at (127,60) and the bonus item flag ($E7 bit 1) goes from 0 to 0.
  - Score rises of 100 (not a wafer, pill or ghost value): 7 times, on frames 3097, 8045, 12964, 17957, 22797, 28115, 32549; at the first, Pac-Man is at (74,40) and the bonus item flag ($E7 bit 1) goes from 1 to 0.
  - Bonus item eaten (the flag goes 1 to 0 on a frame where the score rises by 2 or more): frame 3097: +100, Pac-Man at (74,40); frame 8045: +100, Pac-Man at (80,40); frame 12964: +100, Pac-Man at (80,40); frame 17957: +100, Pac-Man at (72,40); frame 22797: +100, Pac-Man at (73,40); frame 28115: +100, Pac-Man at (81,40); frame 32549: +100, Pac-Man at (73,40).
  - Movement rules over every frame of play (pause frames left out): Pac-Man made 13415 one-pixel steps, 2 jumps through the openings at the top or bottom of the maze (column 76, see BL-034) and 0 other changes of place; the ghosts made 29754 changes of place, 21 jumps through the same openings (frame 5035 ghost 3 (76,70) to (76,82); frame 5071 ghost 3 (76,90) to (76,16); frame 5179 ghost 3 (76,10) to (76,0); frame 9154 ghost 2 (76,70) to (76,82); frame 9190 ghost 2 (76,90) to (76,16); frame 9298 ghost 2 (76,10) to (76,0)) and 0 other changes larger than 3 pixels (changes of 1 to 3 pixels are normal; the size grows with the level).
  - How to check it against the real game: replay the recording in Stella (the host program with --replay) and compare with the numbers above.
