Science and technology

Play Tetris at your Linux terminal

Thanks for becoming a member of us for at this time’s installment of the Linux command-line toys creation calendar. If that is your first go to to the sequence, you is perhaps asking your self, what’s a command-line toy. Even I am not fairly certain, however typically, it might be a recreation or any easy diversion that helps you will have enjoyable on the terminal.

It’s fairly attainable that a few of you should have seen varied picks from our calendar earlier than, however we hope there’s at the least one new factor for everybody.

I promised after I began this sequence I might be together with video games, however up to now I’ve uncared for to, so let’s repair that with at this time’s choice: Tetris.

Tetris and I are virtually precisely the identical age, having first come into the world in the summertime of 1984. Instead of rural North Carolina, although, Tetris originated in Moscow in what was on the time the Soviet Union.

After taking the world by storm, Tetris was cloned many, many occasions. I’d suspect you could possibly discover a Tetris clone for nearly any working system in any language you seemed for. Seriously, go look. There are some enjoyable ones on the market.

The version I am bringing you for at this time’s command-line toy is written in Haskell, and it is one of many better-done variations I’ve seen, with on-screen preview, rating, assist, and a clear look.

If you are prepared to run a compiled binary from an untrusted supply (I would not advocate it), you may seize that instantly, however for a safer strategy, it is also straightforward to make use of a containerized model with dex, or to put in from supply with stack.

This explicit Tetris clone is by Sam Tay and obtainable below a BSD license. Check it out!

If you’ve got received your individual favourite Tetris clone (or possibly you’ve got written your individual?), tell us!

Do you will have a favourite command-line toy that you just assume I must profile? The calendar for this sequence is generally stuffed out however I’ve received just a few spots left. Let me know within the feedback under, and I will test it out. If there’s house, I will attempt to embody it. If not, however I get some good submissions, I will do a round-up of honorable mentions on the finish.

Check out yesterday’s toy, Plan your own holiday calendar at the Linux command line, and test again tomorrow for one more!

Most Popular

To Top