Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahamas10/bash-2048
2048 written in bash
https://github.com/bahamas10/bash-2048
Last synced: 2 months ago
JSON representation
2048 written in bash
- Host: GitHub
- URL: https://github.com/bahamas10/bash-2048
- Owner: bahamas10
- Created: 2014-03-26T03:42:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T05:46:57.000Z (9 months ago)
- Last Synced: 2024-05-08T20:01:56.248Z (8 months ago)
- Language: Shell
- Size: 36.1 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bash 2048
=========My take at http://gabrielecirulli.github.io/2048/ in pure bash
![screenshot](screenshot.png)
Usage
-----**note:** try `-a` for awesome animations
$ ./2048 -h
Usage: 2048 [-a] [-b] [-h] [-g ] [-s ]Options
-a enable animations, note they are slow and weird
-b disable color output, b for boring!
-g the goal piece, defaults to 2048
-h print this message and exit
-k keep playing after winning
-s the size of the board, defaults to 4External Utilities
------------------`tput` is the only external command used in this bash script to figure out the proper
codes to print for colorized output. If your system lacks `tput`, it will still work
without color support.Issues
------- Performance is lacking... the algorithm could probably be optimized
- Animations with `-a` are slow and wonkyLicense
-------MIT License