Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/4imothy/termy48

A 2048 game to run in terminal
https://github.com/4imothy/termy48

Last synced: 29 days ago
JSON representation

A 2048 game to run in terminal

Awesome Lists containing this project

README

        

### Termy48
Create fast $2048$ games of any size to play in your terminal.

#### Demo Video

https://github.com/4tlc/termy48/assets/40186632/2cad1025-8520-4558-8ed3-1bc22bfe6836

Made with zig version: *10.1*

#### Controls

| Keys | Moves |
|----| ---|
| w, k, :arrow_up: | Slide Up |
| s, j, :arrow_down: | Slide Down |
| a, h, :arrow_down: | Slide Left |
| d, l, :arrow_down: | Slide Right |
|q, Ctrl+c | Quit|

#### Command Line Arguments

| Flags | What it Does|
|----| ---|
|*-h*| Get Help |
|*-r*| Set the number of rows |
|*-c*| Set the number of columns|
|*-w*| Set the width of each piece|
|*-h*| Set the height of each piece|
|*-s*| If this is present show the score|

If none given *-r=4*, *-c=4*, *-w=11*, *-h=5*

#### List Of Supported Operating Systems and Platforms

Please tell me the results on your machine if they differ or would add to the listings below.
Windows will not be supported until at least *1.0* of zig.

| Platforms | MacOs | Arch Linux | Windows |
| ---------- |------|-------|---------|
| Default MacOs Terminal| :white_check_mark: | N/A | N/A |
| Alactritty | :white_check_mark: | :question: | :question: |
| Kitty| :question: | :white_check_mark: | :question: |
| VSC Terminal | :white_check_mark: | :white_check_mark: | :question: |
| ST | :question: | :white_check_mark: | :question: |
| st| :question: | :white_check_mark: | :question: |
| xterm| :question: | :white_check_mark: | :question: |
| urxvt| :question: | :white_check_mark: | :question: |
| All/Others | :question: | :question: | :question: |