this post was submitted on 10 Sep 2023
307 points (97.5% liked)

Linux

48067 readers
785 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I never imagined I'd like playing Tetris on the command line, on a terminal on my phone (termux), but here I am!

I couldn't find any Tetris app on fdroid, and just checked if pkgs had one. Lo and behold! It asked me to run pkgs install vitetris, and when I did, the tetris command was there to launch the game.

It's a two step process, as opposed to just launching an app, but it is very lightweight, no tracking, and FOSS.

For anyone with termux already installed and feeling a bit nostalgic, might be worth trying it out.

all 40 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 1 year ago (2 children)

It's wild that there aren't any FOSS Tetris games for Android that have been updated this decade.

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

that's a good thing. Tetris is tetris.You code in all the rules, and you're done. any updates made in the last decade would be the types that "improve the user experience" such as allowing you to pay real money to double your chances of getting the l tetromino, a subscription which would remove the unskippable ads you get after every game, and a microtransaction that allows you to pay to play more than one game per day

[–] [email protected] 20 points 1 year ago (1 children)

Sometimes an app needs to be updated to work properly with the latest operating system. I wouldn't say it's great to have no updates for a decade.

[–] [email protected] 11 points 1 year ago
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Except tetris is not as stable as you might think
The current ruleset uses vastly different rotation systems than the games in the early days, or Akira's TGM series.
Moreover, you can add new features without it being pay 2 win (or even paid), like tetr.io does: ranked matches, leaderboards, tournaments, social interaction, etc... They can also make new rules, like how they recently removed passthrough in online matches.

[–] [email protected] 5 points 1 year ago

Games really don't need to be updated often.

[–] [email protected] 15 points 1 year ago

You did not ask for an alternative but just for visibility because its awesome: a great tetris clone is Techmino. It is on Github and I am getting it via Obtainium.

[–] [email protected] 14 points 1 year ago (1 children)

And for anyone who hates themselves, it looks like bastet is also available!

[–] [email protected] 4 points 1 year ago (1 children)

Gotta try this for fifteen minutes then ditch it forever. Never heard of it before, but as they say: curiosity killed the cat!

[–] [email protected] 4 points 1 year ago

Yep... definitely crazy. Tried easy, was thinking I seemed to be pretty smart up to 4 lines. Then it just kept screwing me with two alternating pieces and the holes started. It loves giving you angles that go the wrong way around given your current block layout 😅

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

Wow, I didn't know you could run a terminal on Android, I'll check it out, thank you

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

Termux is so useful and fun.

[–] [email protected] 6 points 1 year ago (3 children)

out of curiosity, what do you use it for? I've never been able to find a useful function of it beyond a niche party trick

[–] [email protected] 8 points 1 year ago (1 children)

I use it for YouTube-dl, and it's probably useful for programming too. There is a command to let it access shared storage, use that before anything else. Download it from f-droid. Play store build is broken.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

play store build is broken because of its insecurities via sdk29 usage.

[–] [email protected] 8 points 1 year ago (1 children)

I use it for backing up all my photos and videos (the DCIM folder) to my B2 repo using rclone.

It's genuinely amazing how useful it is.

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

There's a native foss android app called Round Sync that does this.

[–] [email protected] 2 points 1 year ago

Oh, that client looks great.

Will check it out, cheers!

[–] [email protected] 3 points 1 year ago

box64(droid) makes it possible to run x64 applications, even with wine - so you can have a mini graphically accelerated desktop

[–] [email protected] 1 points 1 year ago

Can also get a NixOS version of termux

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

If you really want your mind blown check out UserLAnd

[–] [email protected] 5 points 1 year ago

I've been using Andronix, how does this compare?

[–] [email protected] 3 points 1 year ago

There's also AnLinux (available in F-Droid)

It utilizes termux to run Linux distros on Android without root access.

[–] [email protected] 11 points 1 year ago

ty, I had fun for 10m 👍

[–] [email protected] 11 points 1 year ago

also try running the command ssh playnetris.com, it's a server that allows you to play tetris by yourself or online with strangers

[–] [email protected] 5 points 1 year ago

I am the man who arranges the blocks.

[–] [email protected] 5 points 1 year ago (1 children)

Nethack is also available on termux. I like to play on my Chromebook when at school.

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

Nice! I did the same thing until my school figured out how to block Google Play

[–] [email protected] 3 points 1 year ago

Yeah the restrictions on Chromebooks are really annoying. Termux is the only way I can actually program on my chromebook and if they remove that I guess it's time to buy a Thinkpad.

[–] [email protected] 1 points 1 year ago

You can download and run an apk of Termux (this is v118), or even of F-Droid so you can install Termux and keep it up to date.

[–] [email protected] 4 points 1 year ago

You can also play Tetris via Emacs.

https://www.emacswiki.org/emacs/TetrisMode

Starting with OS X, every Mac has shipped with Tetris out of the box 🙂.

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

So cool, I didn't even know it was possible. If you or someone else want to try a tetris app on F-Droid I recommend Blockinger

[–] [email protected] 1 points 1 year ago

I do not. The UX is mediocre and while it says it uses the 7-bag system, it doesn't do that, at all.

[–] [email protected] 2 points 1 year ago

Does it support hjkl?

[–] [email protected] 2 points 1 year ago

That's cool but looks like an absolute disaster to play with a smartphone keyboard. Or even just the buttons they give.

[–] [email protected] 1 points 1 year ago (1 children)

This is IMO the best FOSS Tetris for Android

[–] [email protected] 1 points 1 year ago

And of course it's Chinese!
Love it!

[–] [email protected] 1 points 1 year ago

Have a look at netris also, open source multiplayer tetris that you can play by sshing into playnetris.com (or your own self hosted server

On termux you have to rebind the rotate buttons as they don't have a default value but on a pc they do