DEV Community

Discussion on: Grid Unlock: Using a simulation in Python to demonstrate a faster way to walk

Collapse
 
itsmgo profile image
Martí Gimeno Ortí

Very interesting article. I love how we can find science in every activity in our daily life. It's a way to make things less boring and automated.

By the way, I think you may have a little mistake in the "smartwalk" method, "elif over_progress == 8:" should be "elif over_progress == over:" in my opinion.

Good job! Keep it going.

Collapse
 
walker profile image
Walker Harrison

Thanks for the kind words, Martí. I'm always trying to find little acts of life worth building a simple simulator for -- more to come on dev.to

And thanks for being a close reader and spotting that error. The original simulator was built for only 8x8 grids, but I generalized it for the purpose of the article and missed that change.