lem.afiz.org
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
christos@lemmy.world to Linux Gaming@lemmy.worldEnglish · 23 hours ago

Terminal Tower of Hanoi, in Bash

lemmy.world

message-square
10
fedilink
  • cross-posted to:
  • linux@lemmy.world
69

Terminal Tower of Hanoi, in Bash

lemmy.world

christos@lemmy.world to Linux Gaming@lemmy.worldEnglish · 23 hours ago
message-square
10
fedilink
  • cross-posted to:
  • linux@lemmy.world

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

  • besmtt@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    Okay gotcha. Thank you!

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.

  • 127 users / day
  • 852 users / week
  • 2.89K users / month
  • 9.11K users / 6 months
  • 1 local subscriber
  • 26.2K subscribers
  • 2.15K Posts
  • 22.6K Comments
  • Modlog
  • mods:
  • monolalia@lemmy.world
  • UI: unknown version
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org