Giter Club home page Giter Club logo

sithumsankajith / 2048-mini-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.18 MB

This is a simple and addictive puzzle game where you slide numbered tiles on a grid to combine them and create a tile with the number 2048. Try to reach the 2048 tile and achieve the highest score!

Home Page: https://sithumsankajith.github.io/2048-mini-game/

License: MIT License

HTML 6.25% CSS 32.39% JavaScript 61.36%
css html javascript minigame webgame

2048-mini-game's Introduction

2048 Mini-Game

This is a simple implementation of the popular 2048 game built using HTML, CSS, and JavaScript.

Game Screenshot

Demo

You can play the game here.

Game Screenshot

How to Play

The rules of the game are simple:

  • Use the arrow keys on your keyboard to move the tiles in the desired direction.
  • When two tiles with the same number touch, they merge into one tile with the sum of their numbers.
  • The goal is to create a tile with the number 2048.

Features

  • Responsive design for playability on various screen sizes.
  • Smooth animations for a better user experience.
  • Score tracking to keep track of your progress.

Getting Started

To run the game locally on your machine:

  1. Clone this repository: git clone https://github.com/sithumsankajith/2048-mini-game.git
  2. Navigate to the project directory.
  3. Open index.html in your preferred web browser.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/my-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/my-feature).
  6. Create a new Pull Request.

Credits

This game is inspired by the original 2048 game created by Gabriele Cirulli. The code for this implementation is written by sithum sankajith.

License

This project is licensed under the MIT License - see the LICENSE file for details.

2048-mini-game's People

Contributors

sithumsankajith avatar

Watchers

 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.