How Pizza Tycoon simulated traffic on a 25 MHz CPU

74 points by mtlynch


sjamaan

Loved this writeup! It's pretty awesome how simple things can be if you don't try so hard to do it "perfectly" :)

hmpc

The clever trick with the tile directions in the collision detection algorithm is a good example of how in practice constant factors can matter more than the theoretical time complexity of the algorithm, especially when you can overfit to the problem at hand (in this case very constrained geometry).