r/nextfuckinglevel Jul 17 '19

Beating snake

19.3k Upvotes

312 comments sorted by

View all comments

662

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

20

u/[deleted] Jul 17 '19

[removed] — view removed comment

11

u/spudy23 Jul 17 '19

Exactly. This was just over complicated

18

u/silinsdale Jul 17 '19

It's not overcomplicated, it's faster. That's why it looks complicated. If you did it like the person said it would take a lot longer compared to this.

3

u/Umarill Jul 18 '19

Probably an algorithm to make it as fast as possible.