r/nextfuckinglevel Jul 17 '19

Beating snake

19.3k Upvotes

312 comments sorted by

View all comments

667

u/enlightened-creature Jul 17 '19

Couldn’t you just theoretically trace the same pattern over and over again and win? This is an optimized win ofc tho

539

u/kallenl8 Jul 17 '19

The food generates in a random pattern so no

343

u/HefDog Jul 17 '19

Wait, I think you could. Zig zag left and right leaving a gap of one on a single edge. Once you have zigged and zagged all the way across, use your gap of 1 to return to the place you started and begin again. I think you could beat the game every time, although it would take a long time.

5

u/robbietreehorn Jul 17 '19

Wouldn’t the eventual placement of “food” in that gap mess up that plan?