Giter Club home page Giter Club logo

2048's Introduction

Triangular 2048

This code is my first (and currently last) experience in game development using JavaScript.

How To Play

The game is basically a triangular version of 2048 with a simple 3-D animation.

Keyboard

  • 'WEASDF' for moving tiles around.
  • 'N' for new game.
  • 'U' for undo.

Mouse/Touch

  • Drag and drop for moving tiles.
  • Press 'New Game' and see what will happen!
  • No undo!

2048's People

Contributors

halaei avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

whoami15

2048's Issues

suggestions of towc

I have a few suggestions for you ;)

  1. use ternary, just to be different
  2. the circle is way too close to the title, add at least 20px of padding
  3. put the new game button where it's easy to click (maybe under the triangle, still in the circle)
  4. consider using the same color palette as 2048, the colors you've chosen right now look pretty bad toghether, some numbers are also hard to read because of that (including the circle)
  5. nobody likes crummed space, leave something for the eye to rest, so remove the red lines completely
    and in the end, you don't really need the circle. It doesn't help. Just remove it to get more space and make the triangle a bit bigger

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.