/AWKTC

AWKTC is Workable Klutzy Time-wasting Command

Primary LanguageAwkMIT LicenseMIT

AWKTC

GitHub top language GitHub release (latest by date) GitHub license

🕹️ AWKTC is Workable Klutzy Time-wasting Command

Description

AWKTC is a Tetris-like tile-matching puzzle game written in AWK.

AWKTC screenshot (width: 12)

Requirements

  • gawk or nawk
  • GNU coreutils or equivalent BSD command (dd, echo, sleep, stty)

Installation

git clone https://github.com/mikkun/AWKTC.git

How to Play

Running the Game

cd /path/to/AWKTC
./awktc.awk

Controls

  • a: Move left
  • d: Move right
  • k: Rotate left
  • l: Rotate right
  • s: Fall faster
  • p: Pause
  • q: Quit

Beneficial Item

  • Black piece - Special Piece - Destroys horizontal lines even if they have gaps of blocks.

All Clear Bonus

If you clear all the blocks, then you will get an "All Clear Bonus".

Changing the Playfield Width

You can change the playfield width between 4 and 24 cells. By default, the playfield width is 12 cells.

Example Minimum Width

./awktc.awk 4

AWKTC screenshot (width: 4)

Example Maximum Width

./awktc.awk 24

AWKTC screenshot (width: 24)

License

MIT License

Author

KUSANAGI Mitsuhisa