Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 1.9 KB

README.md

File metadata and controls

86 lines (54 loc) · 1.9 KB

AWKTC

FlakeHub 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, nawk, or goawk
  • GNU coreutils or equivalent BSD command (dd, echo, sleep, stty)

Installation

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

Run Without Installing (For Nix/NixOS)

nix run github:mikkun/AWKTC

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