Code Monkey home page Code Monkey logo

2048's Introduction

2048

A small clone of 1024, based on Saming's 2048 (also a clone).

Made just for fun. Play it here!

The official app can also be found on the Play Store and App Store!

Contribution

Changes and improvements are more than welcome! Feel free to fork and open a pull request.

Please follow the house rules to have a bigger chance of your contribution being merged.

House rules

How to make changes

  • To make changes, create a new branch based on master (do not create one from gh-pages unless strictly necessary) and make them there, then create a Pull Request to master.
    gh-pages is different from master in that it contains sharing features, analytics and other things that have no direct bearing with the game. master is the "pure" version of the game.
  • If you want to modify the CSS, please edit the SCSS files present in style/: main.scss and others. Don't edit the main.css, because it's supposed to be generated.
    In order to compile your SCSS modifications, you need to use the sass gem (install it by running gem install sass once Ruby is installed).
    To run SASS, simply use the following command:
    sass --unix-newlines --watch style/main.scss
    SASS will automatically recompile your css when changed.
  • Rakefile contains some tasks that help during development. Feel free to add useful tasks if needed.
  • Please use 2-space indentation when editing the JavaScript. A .jshintrc file is present, which will help your code to follow the guidelines if you install and run jshint.
  • Please test your modification thoroughly before submitting your Pull Request.

Changes that might not be accepted

We have to be conservative with the core game. This means that some modifications won't be merged, or will have to be evaluated carefully before being merged:

  • Undo/redo features
  • Save/reload features
  • Changes to how the tiles look or their contents
  • Changes to the layout
  • Changes to the grid size

Changes that are welcome

  • Bug fixes
  • Compatibility improvements
  • "Under the hood" enhancements
  • Small changes that don't have an impact on the core gameplay

Screenshot

Screenshot

2048's People

Contributors

gabrielecirulli avatar sigod avatar il01di avatar marg51 avatar timpetricola avatar leereilly avatar iirelu avatar marcingajda avatar johankj avatar maciejczyzewski avatar mfrederiksen avatar remram44 avatar zg avatar codekonami avatar harimohanraj89 avatar janschoenherr avatar jasonkleban avatar jimminning avatar jnohavica avatar ghoullier avatar iharosi avatar coding46 avatar david-risney avatar chrisprice avatar marvin08 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.