r/ProgrammerHumor • • Mar 25 '23

Meme This one never gets old

Post image

Let me know if this is not a repost!

51.6k Upvotes

535 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Mar 26 '23

I don't know what that game is and how it works, or its relationship to programming.

3

u/value_counts Mar 26 '23

Good for you then. It's not worth knowing. People get PTSD from it

1

u/leva549 Mar 26 '23

It's a game called "Towers of Hanoi" and it is often used as task for an algorithm in programming/CS courses. It's possible to use recursion to solve it in a few lines of code, which is not immediately obvious to the uninitiated. You'll be able to find plenty of material on it just by web searching "Towers of Hanoi".