After playing a bit too much of Gabriele Cirulli's 2048, I decided to make a version that would set up a satisfying series of tiles to combine into one big number. This was mostly an exercise to get reacquainted with JavaScript and play around with the "iterate in a snake pattern" algorithm.
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!
Anna Harren and sigod are maintainers for this repository.
Other notable contributors:
- TimPetricola added best score storage
- chrisprice added custom code for swipe handling on mobile
- elektryk made swipes work on Windows Phone
- mgarciaisaia added support for Android 2.3
Many thanks to rayhaanj, Mechazawa, grant, remram44 and ghoullier for the many other good contributions.
That screenshot is fake, by the way. I never reached 2048 😄
Changes and improvements are more than welcome! Feel free to fork and open a pull request. Please make your changes in a specific branch and request to pull into master
! If you can, please make sure the game fully works before sending the PR, as that will help speed up the process.
You can find the same information in the contributing guide.
2048 is licensed under the MIT license.
I made this in my spare time, and it's hosted on GitHub (which means I don't have any hosting costs), but if you enjoyed the game and feel like buying me coffee, you can donate at my BTC address: 1Ec6onfsQmoP9kkL3zkpB6c5sA4PVcXU2i
. Thank you very much!