Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
2

2048

> 编程语言
Open source

The source code for 2048

13.3K stars0 likes1 views
WebsiteGitHub

About

The source code for 2048

# 2048 A small clone of [1024](https://play.google.com/store/apps/details?id=com.veewo.a1024), based on [Saming's 2048](http://saming.fr/p/2048/) (also a clone). 2048 was indirectly inspired by [Threes](https://asherv.com/threes/). Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/) The official app can also be found on the [Play Store](https://play.google.com/store/apps/details?id=com.gabrielecirulli.app2048) and [App Store!](https://itunes.apple.com/us/app/2048-by-gabriele-cirulli/id868076805) ### Contributions [Anna Harren](https://github.com/iirelu/) and [sigod](https://github.com/sigod) are maintainers for this repository. Other notable contributors: - [TimPetricola](https://github.com/TimPetricola) added best score storage - [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile - [marcingajda](https://github.com/marcingajda) made swipes work on Windows Phone - [mgarciaisaia](https://github.com/mgarciaisaia) added support for Android 2.3 Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions. ### Screenshot

That screenshot is fake, by the way. I never reached 2048 :smile: ## Contributing 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.](https://github.com/gabrielecirulli/2048/blob/master/CONTRIBUTING.md) ## License 2048 is licensed under the [MIT license.](https://github.com/gabrielecirulli/2048/blob/master/LICENSE.txt) ## Donations 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!

Issues· 137 open

View all issuesOpen on GitHub
  • #620

    Play Kadrivo attribution note for 2048

    Updated Apr 27, 2026
  • #617

    [L10n] Integrate translation platform

    Updated Feb 22, 2026
  • #560

    Change Color of Instructions Section

    Updated Jan 17, 2026
  • #588

    Guess Games

    Updated May 15, 2025
  • #482

    The scroll bar threw me off

    Updated Feb 26, 2025
  • #552

    The README file os out-of-date.

    Updated Sep 25, 2024
  • #474

    [very little issue] Link in readme down

    Updated Sep 25, 2024
  • #553

    Provide Direct Links:

    Updated Dec 3, 2023
  • #545

    increase grid

    Updated Aug 5, 2023
  • #262

    Sass error

    Updated Apr 22, 2023

> Tags

JavaScript20482048-gamegamejavascript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言