yasuhito/text2048

View on GitHub
README.md

Summary

Maintainability
Test Coverage
text2048
========
[![Gem Version](http://img.shields.io/gem/v/text2048.svg?style=flat)][gem]
[![Build Status](http://img.shields.io/travis/yasuhito/text2048/develop.svg?style=flat)][travis]
[![Code Climate](http://img.shields.io/codeclimate/github/yasuhito/text2048.svg?style=flat)][codeclimate]
[![Coverage Status](http://img.shields.io/codeclimate/coverage/github/yasuhito/text2048.svg?style=flat)][codeclimate]
[![Dependency Status](http://img.shields.io/gemnasium/yasuhito/text2048.svg?style=flat)][gemnasium]
[![Gitter chat](http://img.shields.io/badge/GITTER-text2048-blue.svg?style=flat)][gitter]
[![Gittip](http://img.shields.io/gittip/yasuhito.svg?style=flat)][gittip]

Text mode 2048 game.

[gem]: https://rubygems.org/gems/text2048
[travis]: http://travis-ci.org/yasuhito/text2048
[codeclimate]: https://codeclimate.com/github/yasuhito/text2048
[gemnasium]: https://gemnasium.com/yasuhito/text2048
[gitter]: https://gitter.im/yasuhito/text2048
[gittip]: https://www.gittip.com/yasuhito/

[![Screenshot](https://raw.github.com/yasuhito/text2048/develop/screen_shot.png)][screenshot]

[screenshot]: https://asciinema.org/a/9577

Installation
------------

```
$ gem install text2048
```

To upgrade to the latest version, use:

```
$ gem update text2048
```

How to Play
-----------

```
$ 2048
```

- Use your arrow keys or vi keys (h/j/k/l) to move the tiles.
- +/- to increase or decrease the size of the tiles displayed.
- q to quit.

Links
-----

 * [The official version of 2048](http://gabrielecirulli.github.io/2048/) by Gabriele Cirulli
 * [bfontaine/term2048](https://github.com/bfontaine/term2048) a terminal-based version in Python

Author
------

[Yasuhito Takamiya](https://github.com/yasuhito) ([@yasuhito](http://twitter.com/yasuhito))