2048 README

The project's README from github.com/gabrielecirulli/2048. As one markdown file: README.md.

2048

A small clone of 1024, based on Saming's 2048 (also a clone). 2048 was indirectly inspired by Threes.

Made just for fun. Play it here!

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

Contributions

Anna Harren and sigod are maintainers for this repository.

Other notable contributors:

Many thanks to rayhaanj, Mechazawa, grant, remram44 and ghoullier for the many other good contributions.

Screenshot

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.

License

2048 is licensed under the MIT license.

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!

2048 (gabrielecirulli/2048)

Searching Database…

13.4K ·GitHub
这是什么?这是 2048 的源代码。2048 是一款滑动方块益智游戏,你需要合并带数字的方块,直到得到数字 2048。它是 1024/Saming 的 2048 的克隆版,而后者本身受到了游戏 Threes 的启发。
这是库还是可以直接玩的游戏?这是一款独立的浏览器游戏,使用原生 JavaScript、HTML 和 CSS 构建,不是库或框架。此外,还有基于同一款游戏的官方移动应用。
我该如何玩或运行它?你可以直接在浏览器中在线游玩,或者克隆仓库后在本地打开 HTML 文件。由于它是静态网站,无需构建步骤,也不需要服务器。
在移动设备上运行效果好吗?效果不错。贡献者专门为移动触屏添加了滑动操作支持,还修复了 Windows Phone 上的滑动问题,因此触控操作和键盘方向键都受支持。
如果关闭浏览器,我的分数会被保存吗?会的。一位贡献者添加了最高分存储功能,因此你的最高分可以在多次游戏之间保留。
作者为什么要做这个?作者纯粹出于兴趣制作了它,是对其他类似方块游戏的业余克隆,并通过 GitHub Pages 免费托管,没有任何托管费用。
Which topics is it in?gamedev, game, css, html, mobile, frontend, javascript, web, mit, open-source
Size
0.6 MB
Stars
13.4K
Updated
CommitOct 24
Age
12y
Commits · 90 Days