308
submitted 11 months ago by GravelPieceOfSword@lemmy.ca to c/linux@lemmy.ml

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
[-] dannoffs 22 points 11 months ago

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

[-] vrighter@discuss.tchncs.de 10 points 11 months ago

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

[-] Albbi@lemmy.ca 20 points 11 months ago

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.

[-] Manzas@lemdro.id 11 points 11 months ago
[-] seliaste@lemmy.blahaj.zone 8 points 11 months ago* (last edited 11 months 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.

[-] SatyrSack@lemmy.one 5 points 11 months ago

Games really don't need to be updated often.

[-] RootBeerGuy@discuss.tchncs.de 15 points 11 months 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.

[-] everett@lemmy.ml 14 points 11 months ago

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

[-] GravelPieceOfSword@lemmy.ca 4 points 11 months ago

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

[-] GravelPieceOfSword@lemmy.ca 4 points 11 months 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 😅

[-] nearjsss@reddthat.com 13 points 11 months ago

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

[-] Macropolis@lemmy.world 12 points 11 months ago

Termux is so useful and fun.

[-] zwekihoyy@lemmy.ml 6 points 11 months ago

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

[-] jkozaka@lemm.ee 8 points 11 months ago

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.

[-] zwekihoyy@lemmy.ml 2 points 11 months ago* (last edited 11 months ago)

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

[-] derin@lemmy.beru.co 8 points 11 months ago

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.

[-] scarilog@lemmy.world 2 points 11 months ago

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

[-] derin@lemmy.beru.co 2 points 11 months ago

Oh, that client looks great.

Will check it out, cheers!

[-] Sethayy@sh.itjust.works 3 points 11 months ago

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

[-] flashgnash@lemm.ee 1 points 11 months ago

Can also get a NixOS version of termux

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

If you really want your mind blown check out UserLAnd

[-] yyyesss@lemmy.world 5 points 11 months ago

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

[-] pirate@lemmy.fmhy.net 3 points 11 months ago

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

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

[-] krimsonbun@lemmy.blahaj.zone 11 points 11 months 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

[-] user@lemmy.one 11 points 11 months ago

ty, I had fun for 10m 👍

[-] 257m@lemmy.ml 5 points 11 months ago

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

[-] Cwilliams@beehaw.org 0 points 11 months ago

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

[-] 257m@lemmy.ml 3 points 11 months 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.

[-] lord_ryvan@ttrpg.network 1 points 11 months 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.

[-] trslim@pawb.social 5 points 11 months ago

I am the man who arranges the blocks.

[-] Jordan_U@lemmy.ml 4 points 11 months 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 🙂.

[-] Cwilliams@beehaw.org 2 points 11 months ago

Does it support hjkl?

[-] AceFuzzLord@lemm.ee 2 points 11 months ago

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

[-] UprisingVoltage@feddit.it 2 points 11 months ago

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

[-] lord_ryvan@ttrpg.network 1 points 11 months 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.

[-] Arda1@lemmy.world 2 points 11 months ago
[-] flashgnash@lemm.ee 1 points 11 months 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

[-] chayleaf@lemmy.ml 1 points 11 months ago

This is IMO the best FOSS Tetris for Android

[-] lord_ryvan@ttrpg.network 1 points 11 months ago

And of course it's Chinese!
Love it!

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

Linux

46620 readers
878 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