Numberphile: 255 and Pac-Man

From Brady Haran's new video series, Numberphile: explaining binary to understand why Pac-Man becomes unplayable after 255 levels.
srdsays...

Well, this explanation is what happens on the hardware level, i.e. in the wiring inside the CPU. On the software side you can emulate the carry-over by allocating several pieces of memory and checking bounds and doing carry-over manually. So you're manually programming around the hardware constraints.

Trouble here is, the programmer has to anticipate that the given constraint isn't sufficient for the use case and needs to be worked around. For scores this was obviously the case. For the levels, I'm pretty sure that noone ever really anticipated that someone would go through 255 levels of pacman.

It's basically the same expectation management on a human level that brought us the fear of the Y2K problem.

Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists




notify when someone comments
X

This website uses cookies.

This website uses cookies to improve user experience. By using this website you consent to all cookies in accordance with our Privacy Policy.

I agree
  
Learn More