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

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:

主站蜘蛛池模板: 侯马市| 府谷县| 石门县| 太谷县| 东光县| 伽师县| 昭苏县| 金溪县| 读书| 新竹县| 旬邑县| 灵宝市| 崇明县| 名山县| 平陆县| 延津县| 金山区| 靖西县| 墨玉县| 台前县| 宁陵县| 大埔区| 当涂县| 社旗县| 伊川县| 衡南县| 茂名市| 子洲县| 雷波县| 石门县| 揭西县| 上饶县| 无极县| 醴陵市| 电白县| 濮阳县| 铁岭市| 桃园县| 中江县| 舟曲县| 饶平县|