A downloadable game

About

Termtris runs on UNIX systems and requires an ANSI or VT100-compatible terminal for input and output. It has been tested with a VT420, xterm, rxvt, the Linux console, and kermit running on MS-DOS over a serial link, but it should work on any terminal capable of interpreting ANSI escape sequences for cursor addressing, character set selection, and color attributes.

To run on a terminal other than the controlling terminal, simply specify the device using the -t commandline option.

Termtris also runs on DOS now. It will run on any IBM PC compatible with any graphics card (MDA, CGA, EGA, VGA, SVGA).

I always liked the GameBoy tetris best. So I made termtris as close as possible to that version gameplay-wise.

Controls

  •   `A` or left arrow moves the block left.
  •   `D` or right arrow moves the block right.
  •   `S` or down arrow drops the block faster.
  •   `W` or up arrow rotates the block.
  •   enter, tab, or `0` drops the block immediately.
  •   `P` pauses and unpauses the game.
  •   backspace, or delete starts a new game.
  •   `Q` or hitting escape twice, quits immediately.


Additionally on GNU/Linux systems any joystick can be used to control the game. The first available joystick is used automatically, or you can specify a joystick device with the `-j` commandline option.

When using a joystick, even axes are mapped to left/right, Odd axes are mapped to up/down, the first four buttons rotate, and the rest of the buttons pause and unpause.

There is no way to remap the controls without changing the source code at this time.

License

Copyright (C) 2019-2023 John Tsiombikas nuclear@mutantstargoat.com

This program is free software. Feel free to use, modify, and/or redistribute it under the terms of the GNU General Public License version 3, or at your option, any later version published by the Free Software Foundation. See COPYING for details.

StatusReleased
Rating
Rated 3.0 out of 5 stars
(1 total ratings)
Authornuclear
GenrePuzzle
Tagsansi, terminal, Tetris, Text based, vt220

Download

Download
termtris-1.9.tar.gz 37 kB
Download
termtris.com v1.9 (DOS executable) 32 kB
Download
termtris-1.8.1.tar.gz 31 kB
Download
termtris-1.8.1.zip 42 kB

Install instructions

To install the UNIX version, download the source archive and follow the build instructions in the README.md file to compile and install it (basically just `make` and `sudo make install`).

For the DOS version you can download and run the provided `termtris.com` executable.

Comments

Log in with itch.io to leave a comment.

Nice work! It was fun to compare how the game presents in different video configurations. The gameplay is a little basic - I'm no tetris pro but I'm used to being able to rotate pieces at the last moment to kick and nudge, and that's missing here. But it's still a solid implementation of everyone's favourite time waster and the fact that it seems to work on just about every possible MSDOS configuration makes this a great one to keep on hand

Thank you.

The reason for the simplistic control scheme was that I wanted to replicate the bahavior of the original gameboy version of tetris as closely as possible, since that’s the version I like the most.