-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '#1_reduce_screen_flickering'
- Loading branch information
Showing
4 changed files
with
279 additions
and
335 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// MD007/ul-indent Unordered list indentation | ||
"ul-indent": { | ||
"indent": 4 | ||
}, | ||
|
||
// MD013/line-length Line length | ||
"line_length": false, | ||
|
||
// MD033/no-inline-html Inline HTML | ||
"no-inline-html": { | ||
"allowed_elements": ["h1", "img", "kbd"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,79 @@ | ||
AWKTC | ||
===== | ||
# AWKTC | ||
|
||
![Screenshot (width: 12)](./md-images/screenshot-width12.png) | ||
![GitHub top language](https://img.shields.io/github/languages/top/mikkun/AWKTC) | ||
![GitHub release (latest by date)](https://img.shields.io/github/v/release/mikkun/AWKTC) | ||
![GitHub license](https://img.shields.io/github/license/mikkun/AWKTC) | ||
|
||
**A**WKTC is **W**orkable **K**lutzy **T**ime-wasting **C**ommand | ||
> :joystick: **A**WKTC is **W**orkable **K**lutzy **T**ime-wasting **C**ommand | ||
Description | ||
----------- | ||
## Description | ||
|
||
**AWKTC** is a Tetris-like tile-matching puzzle game written in AWK. | ||
|
||
Requirements | ||
------------ | ||
![AWKTC screenshot (width: 12)](./md-images/screenshot-width12.png) | ||
|
||
* `gawk` or `awk` (except `mawk`) | ||
* [GNU coreutils](https://www.gnu.org/software/coreutils/) or equivalent BSD command (`dd`, `echo`, `sleep`, `stty`) | ||
## Requirements | ||
|
||
Supported Platforms | ||
------------------- | ||
- `gawk` or `nawk` | ||
- [GNU coreutils](https://www.gnu.org/software/coreutils/) or equivalent BSD command (`dd`, `echo`, `sleep`, `stty`) | ||
|
||
**AWKTC** has been tested in the following platforms: | ||
## Installation | ||
|
||
* Debian GNU/Linux 10 | ||
* FreeBSD 12.1-RELEASE | ||
```shell | ||
git clone https://github.com/mikkun/AWKTC.git | ||
``` | ||
|
||
How to Play | ||
----------- | ||
## How to Play | ||
|
||
### Running the Game ### | ||
### Running the Game | ||
|
||
```console | ||
$ cd /path/to/AWKTC | ||
$ ./awktc.awk | ||
```shell | ||
cd /path/to/AWKTC | ||
./awktc.awk | ||
``` | ||
|
||
### Controls ### | ||
### Controls | ||
|
||
* <kbd>a</kbd>: Move left | ||
* <kbd>d</kbd>: Move right | ||
* <kbd>k</kbd>: Rotate left | ||
* <kbd>l</kbd>: Rotate right | ||
* <kbd>s</kbd>: Fall faster | ||
* <kbd>p</kbd>: Pause | ||
* <kbd>q</kbd>: Quit | ||
- <kbd>a</kbd>: Move left | ||
- <kbd>d</kbd>: Move right | ||
- <kbd>k</kbd>: Rotate left | ||
- <kbd>l</kbd>: Rotate right | ||
- <kbd>s</kbd>: Fall faster | ||
- <kbd>p</kbd>: Pause | ||
- <kbd>q</kbd>: Quit | ||
|
||
### Beneficial Item ### | ||
### Beneficial Item | ||
|
||
* ![Black piece](./md-images/special_piece.png) - __Special Piece__ - Destroys horizontal lines even if they have gaps of blocks. | ||
- ![Black piece](./md-images/special_piece.png) - **Special Piece** - Destroys horizontal lines even if they have gaps of blocks. | ||
|
||
### All Clear Bonus ### | ||
### All Clear Bonus | ||
|
||
If you clear all the blocks, then you will get an "All Clear Bonus". | ||
|
||
Changing the Playfield Width | ||
---------------------------- | ||
## 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 ### | ||
### Example Minimum Width | ||
|
||
```console | ||
$ ./awktc.awk 4 | ||
```shell | ||
./awktc.awk 4 | ||
``` | ||
|
||
![Screenshot (width: 4)](./md-images/screenshot-width04.png) | ||
![AWKTC screenshot (width: 4)](./md-images/screenshot-width04.png) | ||
|
||
### Example Maximum Width ### | ||
### Example Maximum Width | ||
|
||
```console | ||
$ ./awktc.awk 24 | ||
```shell | ||
./awktc.awk 24 | ||
``` | ||
|
||
![Screenshot (width: 24)](./md-images/screenshot-width24.png) | ||
![AWKTC screenshot (width: 24)](./md-images/screenshot-width24.png) | ||
|
||
Installation | ||
------------ | ||
## License | ||
|
||
```console | ||
$ git clone https://github.com/mikkun/AWKTC.git | ||
``` | ||
[MIT License](./LICENSE) | ||
|
||
Author | ||
------ | ||
## Author | ||
|
||
[KUSANAGI Mitsuhisa](https://github.com/mikkun) | ||
|
||
License | ||
------- | ||
|
||
[MIT License](./LICENSE) |
Oops, something went wrong.