this post was submitted on 11 Dec 2024
45 points (95.9% liked)

Linux

8332 readers
167 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

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

https://gitlab.com/christosangel/stackabrix

stackabrix is a simple terminal game, written in Bash, where the user, against the clock and with the least moves possible, must sort the blocks according to their color, and stack them in the respective stack.

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

The aim is to sort the blocks, and stack them in the respectively named stacks, fast as possible, and with the least moves possible.

The play's score is the sum of the time achieved in seconds and of the moves made.

If the score is among the 10 best scores achived, it makes it in the Top Ten Highscores.

win_game

Any feedback is welcome.

you are viewing a single comment's thread
view the rest of the comments
[–] westo232@lemmy.world 5 points 2 weeks ago (2 children)

No way I'd be deliberately triggering myself with a variation of Hanoi recursion PTSD programming nonsense.

Cool game though.

[–] christos@lemmy.world 4 points 2 weeks ago (1 children)

Hey, you don't have to. Thank you for the feedback, it is a rare occasion that a project of mine is called programming nonsense, and cool game, at the same message. Although I think I get your point.

[–] westo232@lemmy.world 2 points 2 weeks ago

It's not nonsense at all! It's just even though I enjoy logical puzzles, this one just isn't for me. It's pretty cool that it's not the pure old kind, but you've added colors.