If I correctly remember the minimum number of moves required to get all the disks from one tower to another, 10 layers is going to be a slog.
Linux Gaming
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
No memes/shitposts/low-effort posts, please.
Resources
Help:
- ProtonDB
- Are We Anticheat Yet?
- r/linux_gaming FAQ
- Fork of an earlier version of the above
- PCGamingWiki
- LibreGameWiki
Launchers/Game Library Managers:
General:
Discord:
IRC:
Matrix:
Telegram:
The minimum number of moves required to solve a Tower of Hanoi puzzle is 2**n − 1, where n is the number of disks. 1023 for 10 disks, 5011 for 9 disks (updated max disks in the game). Recursion to the max.
1023 for 10 disks, 5011 for 9 disks
More moves for less disks?
Yup, this is fat finger mathematics. The correct number is 511, somehow zero got in the way.
Okay gotcha. Thank you!
I have just updated the script, now up to 13 disks available (optimal moves: 8191).
It will take a while to solve it...
I might be just tired, but it took me a stupidly long second to get that minimum number of moves formula - not to nitpick, but isn’t that exp. usually written as 2^n - 1 ?
I don't know, it is not often that I use exp in writing, however:
$ echo $((2**9-1))
Ah gotcha, TIL something.
Same here
Didn't know it had a name but that makes sense... I remember playing a minigame puzzle like that as a kid in KOTOR
