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

Linux

8310 readers
192 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.

top 8 comments
sorted by: hot top controversial new old
[–] westo232 5 points 1 week ago (1 children)

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

Cool game though.

[–] christos 4 points 1 week 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 2 points 1 week 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.

[–] [email protected] 1 points 1 week ago (1 children)
[–] christos 2 points 1 week ago (1 children)

No clue of what you mean, pls elaborate.

[–] [email protected] 2 points 1 week ago (1 children)

Ah, my bad. The comic Asterix & Obelix had a theme in the English translation of common turns of phrase or puns ending in -ix as names of the Gauls.

The chief was Vitalstatistix, the bard was Cacofonix, and so on.

[–] christos 2 points 1 week ago (1 children)

😂 Oh I see now. I admit it crossed my mind when I was trying to find an original and totally unused name. I must be Skillissuix, Errormessagix, or Noposix.

[–] christos 2 points 1 week ago

By Tutatis, it is Stackabrix the brick layer!