Giter Site home page Giter Site logo

game-2048's Introduction

2048-game.el

This is an implementation of 2048 in Emacs.

It has a bug tracker.

Installing 2048-game.el

There are two ways to install 2048-game.el:

  1. MELPA -- a package manager for emacs. This is the recommended way to install 2048-game.el

    1. Follow the instructions under "installing" on MELPA's getting started page.
    2. Restart Emacs, to make it reload your init file.
    3. Run M-x package-list-packages.
    4. Find this package in the package list, and move point (the cursor) there. It should one of the first few in the list.
    5. Press i to mark the package for installation.
    6. Press x to execute the commands and install the marked package.
  2. You can install the game from source. This is not recommended unless you're changing the code.

    1. Clone this repository.
    2. Run M-x load-file, then navigate to the repository, and load 2048-game.el

Playing

  • The goal is to create a tile with value 2048.
  • Start the game by typing M-x 2048-game, and pressing enter.
  • You can move the tiles around with the arrow keys, p/n/b/f, or C-p/C-n/C-b/C-f.
  • Whenever the board moves, all tiles slide as far to that direction as they can go. If a tile collides with another tile of the same value, the tiles combine into a tile with double the initial value, and you gain the new tile's value as your score.

game-2048's People

Contributors

zck avatar vladimiralexiev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.