Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sc0ty/2k48
Terminal version of 2048 game
https://github.com/sc0ty/2k48
Last synced: 14 days ago
JSON representation
Terminal version of 2048 game
- Host: GitHub
- URL: https://github.com/sc0ty/2k48
- Owner: sc0ty
- License: gpl-2.0
- Created: 2014-04-10T20:29:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-28T14:00:37.000Z (over 8 years ago)
- Last Synced: 2023-03-24T06:50:56.439Z (over 1 year ago)
- Language: C++
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2k48
Terminal version of 2048 game - http://git.io/2048
You can play online: **` telnet 2048.got-game.org `**- **author:** Mike 'sc0ty' Szymaniak
- **email:** sc0typl[at]gmail.com
- **webpage:** http://sc0ty.pl## HOW TO PLAY
Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one.
## CONTROLS
- move: **arrows** or **W/S/A/D**
- quit: **Q**
- change rendering mode: **R**
**R** will force your screen to be cleared and repainted every frame.
It is useful if your terminal renders animation incorrectly.## COMPILATION
- At this moment, only Linux OS is supported, sorry.
- You need *libncurses* library. You can get it (Ubuntu/Debian) by ` apt-get install libncurses5 libncurses5-dev `.
- To build it, run ` make `.
- To build debug version, run ` make DEBUG=1 `. It will be compiled with debug symbols and there is also testing cheat key **T**.
- To run by as telnet/ssh/whatever server, run `make DEAMON=1` and configure it to be run as login program for telnet service. E.g. if you are using (x)inetd, add to your /etc/inetd.conf:
` telnet tcpnowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd -h -L /path/to/2k48 `## LICENSE
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
For more information see LICENSE file.