Giter Club home page Giter Club logo

atom-2048's Introduction

2048 for Atom

Playing the interesting 2048 game right inside atom.

2048-in-atom

How to play

The normal way

After installation, you can find the toggle in menu Packages -> atom-2048, or you can simple press ctrl-alt-a to start and stop the game.

Once the view is loaded as demonstrated in the gif animation above, you can play the game simply as you are in a browser. You'll see your high scores, and you can reset the game by hit spacebar. Go wild!

NOTE: all the directions arrows can cause the cursor move around the editor view, so they are disabled in atom-2048, you can use WASD keys or vim keys to move the tiles!

boss-is-coming mode!

We all know what boss-is-coming mode is! :P

While playing the game, you simply hit esc, and everything will be gone! But don't worry, your progress is not destoryed. Wherever you feel safe, simple press ctrl-alt-b, and everything will show up again. A little heads up, if you accidentally hit ctrl-alt-a, your progress will not be preserved, so, use carefully!

Achievements

With the help of achievements package developed by @rgbkrk, you can play the game and get achievements! See the image below!

achievements-for-2048

NOTE: to get achievements, you have to install achievements package first!

Change Log

  • 1.0.0 Initial full transplanted game
  • 1.1.0 Add boss-is-coming mode as proposed by @christhekeele in issue #1
  • 1.2.0 Add achievement system using achievements package developed by @rgbkrk. Reference issue #2
  • 1.2.1 Fix the fatal blocking b key issue!
  • 1.2.2 Add advertisement for achievements package
  • 1.2.3 Change to esc key for boss-is-coming mode as discussed in issue #3

Credits

Credit goes to the fantastic 2048 game and the original version 1024. Special thanks to https://github.com/void-main for the initial creation of this package.

atom-2048's People

Contributors

void-main avatar fank avatar

Watchers

James Cloos avatar  avatar  avatar CP Weng avatar  avatar  avatar  avatar Orokon 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.