[-] christos@lemmy.world 20 points 1 month ago

yt-dlp works, magic-tape works, too, if you don't mind terminal interface.

0
submitted 1 month ago by christos@lemmy.world to c/linux@lemmy.world

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

https://gitlab.com/christosangel/tuifoop

tuifoop is a terminal puzzle game.

It is a clone of Swell Foop, written in Bash.

The aim is to remove as many cells as possible (or even all cells) from a grid. The user navigates in the grid using the navigation keys, and can select a cell to remove. Cells can be removed in clusters of more than one cells adjacent to each other. Single cells cannot be removed.

When selected, a cluster of adjacent similar cells is removed, and the remaining cells above take their place.

When a whole grid column is cleared, it collapses and the remaining columns to the right shift to fill its place.

IMPORTANT:

Most themes are based in emoji characters.

In order for the emoji characters to be rendered correctly, the user must:

  1. Make sure that emoji characters are supported in their terminal.

  2. Make sure suitable mono font is used to render the grid and the emoji backgound properly. For instance, ubuntu font can support emojis, however the font background is not rendered correctly, therefore the grid cursor (where the cursor is placd in the cell matrix) cannot be seen in the terminal window.

If a problem is encountered as this is concerned, it is easily resolved by changing to a more appropriate font through terminal application's preferences or configuration, so that the emojis as well as the grid are rendered correctly.

1

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

https://gitlab.com/christosangel/tuifoop

tuifoop is a terminal puzzle game.

It is a clone of Swell Foop, written in Bash.

The aim is to remove as many cells as possible (or even all cells) from a grid. The user navigates in the grid using the navigation keys, and can select a cell to remove. Cells can be removed in clusters of more than one cells adjacent to each other. Single cells cannot be removed.

When selected, a cluster of adjacent similar cells is removed, and the remaining cells above take their place.

When a whole grid column is cleared, it collapses and the remaining columns to the right shift to fill its place.

IMPORTANT:

Most themes are based in emoji characters.

In order for the emoji characters to be rendered correctly, the user must:

  1. Make sure that emoji characters are supported in their terminal.

  2. Make sure suitable mono font is used to render the grid and the emoji backgound properly. For instance, ubuntu font can support emojis, however the font background is not rendered correctly, therefore the grid cursor (where the cursor is placd in the cell matrix) cannot be seen in the terminal window.

If a problem is encountered as this is concerned, it is easily resolved by changing to a more appropriate font through terminal application's preferences or configuration, so that the emojis as well as the grid are rendered correctly.

31
submitted 1 month ago by christos@lemmy.world to c/linux@lemmy.ml

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

https://gitlab.com/christosangel/tuifoop

tuifoop is a terminal puzzle game.

It is a clone of Swell Foop, written in Bash.

The aim is to remove as many cells as possible (or even all cells) from a grid. The user navigates in the grid using the navigation keys, and can select a cell to remove. Cells can be removed in clusters of more than one cells adjacent to each other. Single cells cannot be removed.

When selected, a cluster of adjacent similar cells is removed, and the remaining cells above take their place.

When a whole grid column is cleared, it collapses and the remaining columns to the right shift to fill its place.

IMPORTANT:

Most themes are based in emoji characters.

In order for the emoji characters to be rendered correctly, the user must:

  1. Make sure that emoji characters are supported in their terminal.

  2. Make sure suitable mono font is used to render the grid and the emoji backgound properly. For instance, ubuntu font can support emojis, however the font background is not rendered correctly, therefore the grid cursor (where the cursor is placd in the cell matrix) cannot be seen in the terminal window.

If a problem is encountered as this is concerned, it is easily resolved by changing to a more appropriate font through terminal application's preferences or configuration, so that the emojis as well as the grid are rendered correctly.

21
submitted 1 month ago* (last edited 1 month ago) by christos@lemmy.world to c/opensource@lemmy.ml

https://gitlab.com/christosangel/tuifoop

tuifoop is a terminal puzzle game.

It is a clone of Swell Foop, written in Bash.

The aim is to remove as many cells as possible (or even all cells) from a grid. The user navigates in the grid using the navigation keys, and can select a cell to remove. Cells can be removed in clusters of more than one cells adjacent to each other. Single cells cannot be removed.

When selected, a cluster of adjacent similar cells is removed, and the remaining cells above take their place.

When a whole grid column is cleared, it collapses and the remaining columns to the right shift to fill its place.

IMPORTANT:

Most themes are based in emoji characters.

In order for the emoji characters to be rendered correctly, the user must:

  1. Make sure that emoji characters are supported in their terminal.

  2. Make sure suitable mono font is used to render the grid and the emoji backgound properly. For instance, ubuntu font can support emojis, however the font background is not rendered correctly, therefore the grid cursor (where the cursor is placd in the cell matrix) cannot be seen in the terminal window.

If a problem is encountered as this is concerned, it is easily resolved by changing to a more appropriate font through terminal application's preferences or configuration, so that the emojis as well as the grid are rendered correctly.

1

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

https://gitlab.com/christosangel/tuiplette

tuiplette is a terminal match-three game, written in Bash.

The aim is to gain points by swapping two adjacent grid cells to create rows or columns of three or more matching cells, which will disappear and allow the above cells to fall and occupy the vacant space.

When there are no moves left, the grid will be refreshed, and the game will continue until all (configured) reshuffles are used. When there are no moves left, and no reshuffles left, the game will end.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Hiscores.

As far as the appearence of the game, by configuring the game accordinly, the user can select the game theme according to their liking.

The user has select theme between letters, numbers, greek, shapes, faces and blocks.

The colors selected are the configured terminal theme colors.

themes

12
submitted 2 months ago by christos@lemmy.world to c/linux@lemmy.world

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

https://gitlab.com/christosangel/tuiplette

tuiplette is a terminal match-three game, written in Bash.

The aim is to gain points by swapping two adjacent grid cells to create rows or columns of three or more matching cells, which will disappear and allow the above cells to fall and occupy the vacant space.

When there are no moves left, the grid will be refreshed, and the game will continue until all (configured) reshuffles are used. When there are no moves left, and no reshuffles left, the game will end.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Hiscores.

As far as the appearence of the game, by configuring the game accordinly, the user can select the game theme according to their liking.

The user has select theme between letters, numbers, greek, shapes, faces and blocks.

The colors selected are the configured terminal theme colors.

themes

74
submitted 2 months ago by christos@lemmy.world to c/linux@lemmy.ml

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

https://gitlab.com/christosangel/tuiplette

tuiplette is a terminal match-three game, written in Bash.

The aim is to gain points by swapping two adjacent grid cells to create rows or columns of three or more matching cells, which will disappear and allow the above cells to fall and occupy the vacant space.

When there are no moves left, the grid will be refreshed, and the game will continue until all (configured) reshuffles are used. When there are no moves left, and no reshuffles left, the game will end.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Hiscores.

As far as the appearence of the game, by configuring the game accordinly, the user can select the game theme according to their liking.

The user has select theme between letters, numbers, greek, shapes, faces and blocks.

The colors selected are the configured terminal theme colors.

themes

98
submitted 2 months ago by christos@lemmy.world to c/opensource@lemmy.ml

https://gitlab.com/christosangel/tuiplette

tuiplette is a terminal match-three game, written in Bash.

The aim is to gain points by swapping two adjacent grid cells to create rows or columns of three or more matching cells, which will disappear and allow the above cells to fall and occupy the vacant space.

When there are no moves left, the grid will be refreshed, and the game will continue until all (configured) reshuffles are used. When there are no moves left, and no reshuffles left, the game will end.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Hiscores.

As far as the appearence of the game, by configuring the game accordinly, the user can select the game theme according to their liking.

The user has select theme between letters, numbers, greek, shapes, faces and blocks.

The colors selected are the configured terminal theme colors.

themes

1

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.

31
submitted 2 months ago by christos@lemmy.world to c/linux@lemmy.world

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.

79
submitted 2 months ago by christos@lemmy.world to c/linux@lemmy.ml

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.

50
submitted 2 months ago by christos@lemmy.world to c/opensource@lemmy.ml

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.

[-] christos@lemmy.world 11 points 8 months ago

As a matter of fact it is one of the scripts that I cannot do without, I use it everyday, it is very convenient. But then again I wrote it myself, so I can't be objective.

[-] christos@lemmy.world 11 points 10 months ago

Here is the solution just for you:

  • get to the tui-mines/ directory
  • open a terminal there
  • run this command sed -i 's/k|A/w|A/;s/h|D/a|D/;s/j|B/s|B/;s/l|C/d|C/' tui-mines.sh

Run the script ./tui-mines.sh

You can now play using lower case awsd.

[-] christos@lemmy.world 58 points 1 year ago

Somehow things seem similar (perhaps better) in Greece:

[-] christos@lemmy.world 10 points 1 year ago
  • Excellent catch! This one slipped through! I just fixed the bug, thank you very much!

I am happy you like it!

[-] christos@lemmy.world 13 points 1 year ago

Maybe. Respectfuly, feel free to move along. I fail to see the aim of your message.

[-] christos@lemmy.world 15 points 1 year ago

Don't give me new ideas...

[-] christos@lemmy.world 26 points 1 year ago

Of course, next time I feel like writing a script, I will make sure that I let you know first, and get your approval.

[-] christos@lemmy.world 15 points 1 year ago

Oh, the FUN parts.

I initially tried to incorporate past attempts to generate a sudoku 9x9 matrix, even added a backtracking routine that would detect and exclude duplicate solutions. Unfortunately, the whole process of generating a new puzzle was taking about 30". What is more, the outcome, although symmetrical and all, was not what I wanted. The routines were in c. You can have a look if you like:

https://gitlab.com/christosangel/c-sudoku

[-] christos@lemmy.world 11 points 1 year ago* (last edited 1 year ago)

Thanx for pointing out, it is now fixed in the repo and in the script, however I cannot update the preview image here on Lemmy... so this spelling error will stick out like a sore thumb.

Update: Fixed.

[-] christos@lemmy.world 13 points 2 years ago
[-] christos@lemmy.world 53 points 2 years ago

It is up again!

view more: next ›

christos

joined 2 years ago