官术网_书友最值得收藏!

2048

A few years ago, a popular application was a simple game called 2048. The goal is to combine blocks with numbers to ultimately total 2048. Blocks are numbered in multiples of 2. You can combine adjacent blocks with the same value to create a new block with their combined value.

I wasted more time playing this game than I care to admit. It is easy to play and highly addictive. A well-crafted brew of endorphins and gameplay.

Fortunately, there were numerous open source knock-offs available on GitHub. Several were web applications. I would wager that native versions distributed through app stores were websites wrapped in a native shell, a hybrid application.

I chose a popular repository to fork for the book. The 2048 web application is simple and a perfect candidate to demonstrate how to make an exemplary PWA example:

主站蜘蛛池模板: 南郑县| 内江市| 石屏县| 峡江县| 五家渠市| 安国市| 正宁县| 潢川县| 阿尔山市| 梓潼县| 姜堰市| 正宁县| 苍南县| 琼海市| 丰镇市| 三明市| 浏阳市| 政和县| 自治县| 苏尼特左旗| 台中市| 南陵县| 昭平县| 洛川县| 和政县| 瓦房店市| 怀远县| 安庆市| 肇源县| 宝应县| 柳河县| 宝应县| 苍溪县| 建瓯市| 兴化市| 昔阳县| 岳普湖县| 荥经县| 梅河口市| 政和县| 朝阳市|