Lemmy.World
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
christos to Bash@lemmy.mlEnglish · 6 hours ago

Terminal Tower of Hanoi, in Bash

message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • linux_gaming
  • [email protected]
  • [email protected]
  • [email protected]
  • linux
  • [email protected]
3

Terminal Tower of Hanoi, in Bash

christos to Bash@lemmy.mlEnglish · 6 hours ago
message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • linux_gaming
  • [email protected]
  • [email protected]
  • [email protected]
  • linux
  • [email protected]

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.

Bash@lemmy.ml

bash@lemmy.ml

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: [email protected]

Talk about the Bash Shell and Bash scripting

Visibility: Public
globe

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

  • 3 users / day
  • 3 users / week
  • 10 users / month
  • 43 users / 6 months
  • 180 local subscribers
  • 1.03K subscribers
  • 42 Posts
  • 107 Comments
  • Modlog
  • mods:
  • Elsie@lemmy.ml
  • Wronnay@lemmy.ml
  • UI: 0.19.18-4-g685b50ce
  • BE: 0.19.18-8-g5d8cbdd9d
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org