r/ProgrammerHumor • • Jun 10 '23

[deleted by user]

[removed]

12k Upvotes

615 comments sorted by

View all comments

Show parent comment

1

u/Chrisazy Jun 10 '23

Or a graph of "possible moves" that you build each turn. I think that's the "easiest" way to get the same logic as your idea, but more naively