So I wrote a version of the famous mathematical puzzle Tower of Hanoi in Inform 7, a language for creating “interactive fiction” or text adventures in the style of Zork.
Download a playable file, or play in your browser at https://rileypb.com/inform/. Type “help” for information on how to play.