Hacker News new | ask | show | jobs
by bytex64 5299 days ago
Sure thing. What was ww=0; trying to do? It seems to be the only place ww is referenced.
1 comments

Prior to implementing the s.length-based speed increase, I tried implementing a funkier frame-based gradual increase using a log scale. Ultimately, that proved to be not worth the effort as speeding it up in proportion to how many pellets were eaten was a more natural fit. So that variable is a leftover and should have been deleted.