D•Scribe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
christos@lemmy.world to commandline@programming.devEnglish · 14 days ago

Terminal Tower of Hanoi, in Bash

lemmy.world

message-square
0
link
fedilink
  • cross-posted to:
  • opensource@programming.dev
  • linux@programming.dev
  • linux@lemmy.world
  • linux_gaming@lemmy.world
1

Terminal Tower of Hanoi, in Bash

lemmy.world

christos@lemmy.world to commandline@programming.devEnglish · 14 days ago
message-square
0
link
fedilink
  • cross-posted to:
  • opensource@programming.dev
  • linux@programming.dev
  • linux@lemmy.world
  • linux_gaming@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

alert-triangle
You must log in or # to comment.

commandline@programming.dev

commandline@programming.dev

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: !commandline@programming.dev
Visibility: Public
globe

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

  • 2 users / day
  • 12 users / week
  • 38 users / month
  • 73 users / 6 months
  • 1 local subscriber
  • 2.2K subscribers
  • 91 Posts
  • 8 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • chaoticAnimals@programming.dev
  • Spyros@programming.dev
  • Gamma@programming.dev
  • UI: unknown version
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org