christos

joined 3 years ago
[–] christos@lemmy.world 2 points 1 month ago

This script can also work with any in this list proxy sites, by editing the config file.

 

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

https://gitlab.com/christosangel/corsaro

corsaro is a script written in Bash that allows the user to search for torrents in the terminal .

colors1

The functions and the data are taken from https://piratebay.live/

Opening the script, the user through the main menu, can:

  • Search for a torrent

  • Search for a torrent in a category

  • Search for a torrent in multiple categories

  • Check out top 100 torrents in a category

  • Browse torrents in a category

  • Browse the most recent torrents

  • Repeat previous torrent search

  • Browse torrent search history and repeat a search using a stored key word

  • Configure the parameters of the script

 

https://gitlab.com/christosangel/corsaro

corsaro is a script written in Bash that allows the user to search for torrents in the terminal .

colors1

The functions and the data are taken from https://piratebay.live/

Opening the script, the user through the main menu, can:

  • Search for a torrent

  • Search for a torrent in a category

  • Search for a torrent in multiple categories

  • Check out top 100 torrents in a category

  • Browse torrents in a category

  • Browse the most recent torrents

  • Repeat previous torrent search

  • Browse torrent search history and repeat a search using a stored key word

  • Configure the parameters of the script

[–] christos@lemmy.world 2 points 1 month ago

Thx, you are correct. I now think I have resolved the issue.

[–] christos@lemmy.world 2 points 1 month ago

My estimated max is 142 characters, so that all torrent info can be rendered. Thank you for your response.

 

A simple question with an easy answer: how many characters long is your terminal in full screen? I am working on a torrent searching script, and I am interested in the statistical max dimensions of a terminal. Thanks in advance.

[–] christos@lemmy.world 2 points 4 months ago

I have just updated the script, now up to 13 disks available (optimal moves: 8191).

It will take a while to solve it...

[–] christos@lemmy.world 3 points 4 months ago (2 children)

I don't know, it is not often that I use exp in writing, however:

$ echo $((2**9-1))
[–] christos@lemmy.world 7 points 4 months ago (2 children)

Yup, this is fat finger mathematics. The correct number is 511, somehow zero got in the way.

[–] christos@lemmy.world 6 points 4 months ago (8 children)

The minimum number of moves required to solve a Tower of Hanoi puzzle is 2**n − 1, where n is the number of disks. 1023 for 10 disks, 5011 for 9 disks (updated max disks in the game). Recursion to the max.

 

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

 

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

 

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

[–] christos@lemmy.world 1 points 2 years ago

UPDATE: Added Levels feature.

[–] christos@lemmy.world 2 points 2 years ago

UPDATE: Added Levels feature.

[–] christos@lemmy.world 1 points 2 years ago

UPDATE: Added Levels feature.

[–] christos@lemmy.world 1 points 2 years ago

I guess you are right, in a dark terminal, a mouse from time to time, and no windows whatsoever...

 

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

https://gitlab.com/christosangel/sausage

sausage is a terminal word forming game, written in Bash.

This game was inspired by https://en.wikipedia.org/wiki/Bookworm_(video_game).

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/game.png

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

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

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/stats.png

This game is named sausage as a tribute to BlackAdder S03E02: Ink and Incapability:

Renowned writer and lexicographer Dr. Samuel Johnson starts to read a tiny scrap of paper containing Baldrick's miniscule novel:

Once upon a time, there was a lovely little sausage called...

...only to realize that after 18 years of arduous work, he failed to include the word SAUSAGE in his magnum opus.

 

https://gitlab.com/christosangel/sausage

sausage is a terminal word forming game, written in Bash.

This game was inspired by https://en.wikipedia.org/wiki/Bookworm_(video_game).

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/game.png

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

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

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/stats.png

This game is named sausage as a tribute to BlackAdder S03E02: Ink and Incapability:

Renowned writer and lexicographer Dr. Samuel Johnson starts to read a tiny scrap of paper containing Baldrick's miniscule novel:

Once upon a time, there was a lovely little sausage called...

...only to realize that after 18 years of arduous work, he failed to include the word SAUSAGE in his magnum opus.

 

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

https://gitlab.com/christosangel/sausage

sausage is a terminal word forming game, written in Bash.

This game was inspired by https://en.wikipedia.org/wiki/Bookworm_(video_game).

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/word1.png

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

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

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/stats.png

 

https://gitlab.com/christosangel/sausage

sausage is a terminal word forming game, written in Bash.

This game was inspired by https://en.wikipedia.org/wiki/Bookworm_(video_game).

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/word1.png

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

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

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/stats.png

 

https://gitlab.com/christosangel/sausage

sausage is a terminal word forming game, written in Bash.

This game was inspired by https://en.wikipedia.org/wiki/Bookworm_(video_game).

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/word1.png

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

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

https://gitlab.com/christosangel/sausage/-/raw/main/screenshots/stats.png

 

https://gitlab.com/christosangel/deshuffle

deshuffle is a terminal word puzzle game, written in Bash.

The simple aim is to put all the given letters in order to find the shuffled word against the clock. The time available after a number of words also reduces, so the game gets harder as it goes.

There is not only one solution to every puzzle. If the user find a word with the same letters, the solution will be accepted.

By default, the adjusted definitions of the words appear in the end of each round.

The game ends when the user fails to find the word in time, or fails to create an acceptable solution altogether.

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

This game was inspired by https://wordnerd.co/23words/.

view more: next ›