lemmy.keniir.wtf
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
christos@lemmy.world to Linux Gaming@lemmy.worldEnglish · 8 hours ago

Terminal Tower of Hanoi, in Bash

lemmy.world

message-square
3
fedilink
51

Terminal Tower of Hanoi, in Bash

lemmy.world

christos@lemmy.world to Linux Gaming@lemmy.worldEnglish · 8 hours ago
message-square
3
fedilink

cross-posted from: https://lemmy.world/post/47988648

https://gitlab.com/christosangel/hanoi

Hanoi is a simple terminal version of the known classical game Tower of Hanoi, written in Bash.

During the game, the user can move left and right, pick disks and drop them in other stacks.

The aim is to move all the disks from the ORIGIN pile to the DESTINATION pile, in as little moves as possible

hanoi.png

  • ImgurRefugee114@reddthat.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    Didn’t know it had a name but that makes sense… I remember playing a minigame puzzle like that as a kid in KOTOR

Linux Gaming@lemmy.world

linux_gaming@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux_gaming@lemmy.world

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:

  • Faugus Launcher
  • Bottles
  • Lutris
  • Heroic Games Launcher

General:

  • Gaming on Linux
  • Boiling Steam
  • Phoronix
  • Linux VR Adventures

Discord:

  • Gaming on Linux
  • Linux Gamers Group
  • Linux Gaming
  • Lutris

IRC:

  • Gaming on Linux

Matrix:

  • Linux Gamers Group (space)
  • Linux Gamers Group (“home” room)
  • Linux Gaming

Telegram:

  • Gaming on Linux
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 231 users / day
  • 988 users / week
  • 2.89K users / month
  • 9.14K users / 6 months
  • 1 local subscriber
  • 26.1K subscribers
  • 1.77K Posts
  • 18.4K Comments
  • Modlog
  • mods:
  • monolalia@lemmy.world
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org