Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbknapp/cli2048-go
https://github.com/kbknapp/cli2048-go
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kbknapp/cli2048-go
- Owner: kbknapp
- License: gpl-2.0
- Created: 2014-06-04T20:14:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-23T19:56:57.000Z (over 10 years ago)
- Last Synced: 2024-06-22T02:09:44.081Z (5 months ago)
- Language: Go
- Size: 363 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CLI2048
=======Console version of the popular '2048' game written in Go.
Usage
-----cli2048 [flags]
-v Display version
--version
-h Display help info
--helpControls
--------UP w, i, [UP ARROW]
DOWN s, k, [DOWN ARROW]
LEFT a, j, [LEFT ARROW]
RIGHT d, l, [RIGHT ARROW]HELP h
RESET r, n
NEW GAME r, nQUIT q, [ESC]
Objective
---------
The game takes place on a 4x4 grid with tiles randomly generated in empty grid squares. Your goal is move the tiles around the board until they combine like numbers until one or more tiles reaches 2048. After every movement another tile will be generated. The game is over when there are no possible moves left. Points are earned by combining like tiles.Rules
-----
Tiles may be shifted either UP, DOWN, LEFT, or RIGHTAll tiles will be shifted at the same time in one of the four directions
When two tiles with the same value are shifted into each other they will combine their values and position on the board