2048 (video game) explained
2048 is a single-player sliding tile puzzle video game written by Italian web developer Gabriele Cirulli and published on GitHub.[2] The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048; however, one can continue to play the game after reaching the goal, creating tiles with larger numbers. It was originally written in JavaScript and CSS over a weekend, and released on 9 March 2014 as free and open-source software subject to the MIT License. Versions for iOS and Android followed in May 2014.
2048 was intended to be an improved version of two other games, both of which were clones of the iOS game Threes released a month earlier. Cirulli himself described 2048 as being "conceptually similar" to Threes. The release of 2048 resulted in the rapid appearance of many similar games, akin to the flood of Flappy Bird variations from 2013. The game received generally positive reviews from critics, with it being described as "viral" and "addictive".
Gameplay
2048 is played on a plain 4×4 grid, with numbered tiles that slide when a player moves them using the four arrow keys. The game begins with two tiles already in the grid, having a value of either 2 or 4, and another such tile appears in a random empty space after each turn. Tiles with a value of 2 appear 90% of the time, and tiles with a value of 4 appear 10% of the time. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided. The resulting tile cannot merge with another tile again in the same move. Higher-scoring tiles emit a soft glow; the largest possible tile is 131,072.[3]
If a move causes three consecutive tiles of the same value to slide together, only the two tiles farthest along the direction of motion will combine. If all four spaces in a row or column are filled with tiles of the same value, a move parallel to that row/column will combine the first two and last two.[4] A scoreboard on the upper-right keeps track of the user's score. The user's score starts at zero, and is increased whenever two tiles combine, by the value of the new tile.
The game is won when a tile with a value of 2048 appears on the board. Players can continue beyond that to reach higher scores.[5] [6] [7] When the player has no legal moves (there are no empty spaces and no adjacent tiles with the same value), the game ends.[8]
Strategy
Strategies in 2048 include keeping the largest tile in a specific corner with other large tiles filling the row (either vertically or horizontally). If the row remains filled, the player can then move in three different directions while still keeping the largest tile in the preferred corner. As a general rule, no small tiles should be separated from other small tiles by a large tile.[9] [10]
Development
Nineteen-year-old Gabriele Cirulli created the game in a single weekend as a test to see if he could program a game from scratch.[11] "It was a way to pass the time", he said.[5] He described it as being "conceptually similar" to the recently released iOS game Threes,[12] and a clone of another game, 1024.[5] Developed by Veewo Studio,[13] 1024 is itself a clone of Threes, with its App Store description once reading "no need to pay for Threes". Cirulli's README for 2048 cites another 1024 clone as influence: the homonymous but slightly different in terms of mechanics 2048 by Saming.[14]
Cirulli was surprised when his weekend project received over 4 million visitors in less than a week.[15] [16] The game is free to play, Cirulli having said that he was unwilling to make money "from a concept that [he] didn't invent".[17] He released ports for iOS and Android in May 2014.[18]
Adaptations
The simple controls allowed it to be used in a promo video for the Myo gesture control armband,[19] and the availability of the code underneath allowed it to be used as a teaching aid for programming. The second-place winner of a coding contest at Matlab Central Exchange was an AI system that would play 2048 on its own.[20] As the source code is available, many additions to the original game, including a score leaderboard, an undo feature, and improved touchscreen playability have been written by other people. All are available to the public.[21]
Spinoffs have been released online and include versions with elements from the Doge meme, Doctor Who,[22] Flappy Bird and Tetris. There has also been a 3D version and versions with bigger or smaller grids.[23] Cirulli sees these spinoffs as "part of the beauty of open source software" and does not object to them "as long as they add new, creative modifications to the game".[24] In 2014, an unofficial clone of the game was published in the iOS App Store by Ketchapp, monetized with advertising.[25] [26] An unofficial clone was also released for the Nintendo 3DS.[27]
Reception
The game has been described by The Wall Street Journal as "almost like Candy Crush for math geeks",[28] and Business Insider called it "Threes on steroids". Caitlin Dewey of The Washington Post called it "a nerdy, minimalist, frustrating game",[6] while The Independent called it "addictive". The phenomenon of 2048 has been compared to that of Flappy Bird by several commentators. Both games' success, and their simplicity, led to the rapid creation of many variants, and both games have been described as "viral" and "very addictive".
James Vincent of The Independent labeled 2048 as "a clone of a clone". In April 2014, Pocket Gamer reported that 15 new clones of Threes were released daily in the App Store.[29] When asked if he was concerned that his situation would end up as stressed as that of Nguyễn Hà Đông, the creator of Flappy Bird, Cirulli said that he had "already gone through that phase" on a smaller scale, and that once he had decided against monetizing 2048, he "stopped feeling awkward."[30]
In response to rampant cloning, the creators of Threes published a log of how the game evolved over its 14-month development cycle. They said they had tried and dismissed 2048 tile merging variant, because it made the game too easy.[31] In a 2014 Wired article, they claimed to have each beaten 2048 on their first play.[31]
AI
The mathematical nature of 2048 has made the game of interest to AI researchers. As of 2022, AI achieved[32] over 95% (likely over 98%, but the measurement has noise) probability of making a 16384 tile, over 75% (likely over 80%) probability of making a 32768, and over 3% probability of making a 65536 (improving over the results in previous papers[33] [34]). Due to randomness and lack of spare room, the optimal probability of making a 65536 tile is expected to be low; this is supported by optimal solutions for constrained boards.[32] [35]
2048 AI strategy uses expectimax search up to a certain (variable) depth, plus transposition tables to avoid duplication. Analogously to endgame tablebases, tables are used to estimate success (for building a large enough tile without destroying the configuration) in appropriate positions with many large tiles. A position evaluation function can favor empty squares, having a large number of merge possibilities, placement of larger tiles at the edge, and monotonicity for tile sizes, especially for larger tiles.[36] [37] The parameters are optimized by a search for better parameter values; some papers[33] used temporal difference reinforcement learning.
External links
Notes and References
- Web site: Puzzle Game 2048 Will Make You Forget Flappy Bird Ever Existed . Megan Rose . Dickey . 23 March 2014 . Business Insider . 27 March 2014 . 25 March 2014 . https://web.archive.org/web/20140325195422/http://www.businessinsider.com/2048-puzzle-game-2014-3 . live .
- Web site: 2048 . .
- Neller. Todd W.. Pedagogical Possibilities for the 2048 Puzzle Game. 38–46 [39]. Journal of Computing Sciences in Colleges. 30. 3. 2015. 28 January 2021. 9 July 2020. https://web.archive.org/web/20200709094718/https://cupola.gettysburg.edu/cgi/viewcontent.cgi?article=1025&context=csfac. live.
- News: This hyper-addictive math game is driving the Internet insane . Rob . Price . March 2, 2020 . . January 25, 2021 . 16 July 2020 . https://web.archive.org/web/20200716130246/https://www.dailydot.com/debug/2048-math-game/ . live .
- News: 19-Year-Old Makes Viral Game Hit in a Weekend . Arjun . Kharpal . 26 March 2014 . . 8 April 2014 . 13 September 2020 . https://web.archive.org/web/20200913121341/https://www.cnbc.com/2014/03/26/19-year-old-makes-viral-game-hit-in-a-weekend.html . live .
- News: Everything you ever wanted to know about 2048, the Internet's latest impossible hit game . Caitlin . Dewey . April 23, 2014 . . January 25, 2021 . 26 April 2016 . https://web.archive.org/web/20160426154543/https://www.washingtonpost.com/news/arts-and-entertainment/wp/2014/04/23/everything-you-ever-wanted-to-know-about-2048-the-internets-latest-impossible-hit-game/ . live .
- News: 2048 starts easy; gets hard. Here's how to make it easy again . Nick . Statt . March 22, 2014 . CNet . January 25, 2021 . 27 January 2016 . https://web.archive.org/web/20160127014126/https://www.cnet.com/news/2048-starts-easy-gets-hard-heres-how-to-make-it-easy-again/ . live .
- News: How to play '2048,' the addicting smartphone game Travis Kalanick is obsessed with . Avery . Hartmans . January 18, 2018 . . January 25, 2021 . 30 January 2021 . https://web.archive.org/web/20210130021357/https://www.businessinsider.com/how-to-play-2048-smartphone-game-travis-kalanick-2018-1 . live .
- Web site: Johnston . Stephen . 2048 Game Strategy - How to Always Win at 2048 . www.gameskinny.com . 8 February 2022 . 7 December 2021 . 8 February 2022 . https://web.archive.org/web/20220208170550/https://www.gameskinny.com/lnagr/2048-game-strategy-how-to-always-win-at-2048 . live .
- Web site: Six tips and tricks to help you achieve your highest score in 2048! . iMore . 8 February 2022 . 13 July 2018 . 8 February 2022 . https://web.archive.org/web/20220208170549/https://www.imore.com/2048-tips-and-tricks . live .
- Web site: 2048: The new app everyone's talking about . Salvador . Rodriguez . 27 March 2014 . Los Angeles Times . 13 April 2014 . 19 April 2014 . https://web.archive.org/web/20140419230945/http://www.latimes.com/business/technology/la-fi-tn-2048-hit-game-creator-gabriele-cirulli-20140327,0,3285397.story#axzz2yiskNuep . live .
- News: 'Threes is the reason 2048 exists' - game creators hit out at clone . Alex . Hern . March 31, 2014 . . January 25, 2021 . 11 January 2023 . https://web.archive.org/web/20230111121121/https://www.theguardian.com/technology/appsblog/2014/mar/31/threes-creators-2048-game-clone . live .
- Web site: 2048 . Saming . https://web.archive.org/web/20140909155432/http://saming.fr/p/2048/ . 9 September 2014. 9 September 2014 .
- Web site: README.md . Gabriele . Cirulli . . 10 March 2014 . 28 May 2021 . 15 February 2019 . https://web.archive.org/web/20190215042539/https://github.com/gabrielecirulli/2048/blob/master/README.md . live .
- News: Spence. Peter. How One 19 Year Old Won the Internet with Addictive Puzzler 2048. City A.M.. 17 March 2014. 19 March 2014. 20 March 2014. https://web.archive.org/web/20140320135835/http://www.cityam.com/blog/1395045472/how-one-19-year-old-won-internet-addictive-puzzler-2048. dead.
- Web site: Maker of Hit Puzzle Game '2048' Says He Created It over a Weekend . Salvador . Rodriguez . 27 March 2014 . Los Angeles Times . 27 March 2014 . 19 April 2014 . https://web.archive.org/web/20140419230945/http://www.latimes.com/business/technology/la-fi-tn-2048-hit-game-creator-gabriele-cirulli-20140327,0,3285397.story . live .
- Web site: Reinsberg . Hillary . Why This Free Puzzle Game Is The Most Addictive Thing On The Internet . Buzzfeed News . 13 November 2020 . 18 March 2014 . 15 May 2021 . https://web.archive.org/web/20210515154509/https://www.buzzfeednews.com/article/hillaryreinsberg/why-this-free-puzzle-game-is-the-most-addictive-thing-on-the . live .
- Web site: 2048, success and me — Gabriele Cirulli . 16 May 2014 . https://web.archive.org/web/20140517152011/http://gabrielecirulli.com/articles/2048-success-and-me . 17 May 2014 . dead.
- News: Watch The Myo Armband Make One 2048 Addict Feel like He's 'A Part' of The Game . Darrell . Etherington . 24 March 2014 . TechCrunch . 25 March 2014 . 25 March 2014 . https://web.archive.org/web/20140325020510/http://techcrunch.com/2014/03/24/watch-the-myo-armband-make-one-2048-addict-feel-like-hes-a-part-of-the-game/ . live .
- Web site: 2048 Game Solver . The MathWorks, Inc. . 6 May 2014 . 15 May 2014 . https://web.archive.org/web/20140515025707/http://www.mathworks.in/matlabcentral/fileexchange/46483-2048-game-solver . live .
- Web site: Make Your Own 2048 . Andy . Brown . Sarah . Spikes . amp . Udacity . 7 April 2014 . 8 April 2014 . https://web.archive.org/web/20140408211353/https://www.udacity.com/course/ud248 . live .
- News: Doctor Who fans are losing their minds over the new 'Thirteen' Doctors game . Huw . Fullerton . July 30, 2020 . Radio Times . January 25, 2021 . 16 July 2020 . https://web.archive.org/web/20200716082042/https://www.radiotimes.com/news/tv/2020-06-30/doctor-who-thirteen-game/ . live .
- Web site: '2048' Is the Next Mobile Game to Eat Up Your Time . Jon . Chang . 24 March 2014 . ABC News . 27 March 2014 . 27 March 2014 . https://web.archive.org/web/20140327112419/https://abcnews.go.com/Technology/2048-mobile-game-eat-time/story?id=23037239 . live .
- News: 2048: The new app everyone's talking about . Jefferson . Graham . 28 March 2014 . USA Today . 30 March 2014 . 30 March 2014 . https://web.archive.org/web/20140330025315/http://www.usatoday.com/story/tech/columnist/talkingtech/2014/03/28/talking-tech-2048/6951781/ . live .
- Web site: The Messy Story Behind A Game Clone. Patrick. Klepek. Kotaku. 30 April 2015. 28 January 2021. 29 September 2020. https://web.archive.org/web/20200929094134/https://www.kotaku.com.au/2015/04/the-messy-story-behind-a-game-clone/. live.
- Web site: Revisiting Threes, 2048, And The Endless Chain Of Ripoffs . Kevin . Nyugen . February 10, 2022 . February 10, 2022 . . 13 April 2022 . https://web.archive.org/web/20220413092525/https://www.theverge.com/22914955/threes-2048-ketchapp-copycats-clones-mobile-games . live .
- News: Clone of Clone of Clone Now on 3DS eShop . Kotaku . 19 June 2014 . 19 September 2014 . Schreier . Jason . 17 July 2014 . https://web.archive.org/web/20140717222413/http://kotaku.com/clone-of-clone-of-clone-now-on-3ds-eshop-1593148524 . live .
- News: Want to Stay Anonymous? Don't Make a Hit Computer Game. Ed. Ballard. The Wall Street Journal. 18 March 2014. 4 August 2017. 19 March 2014. https://web.archive.org/web/20140319233352/https://blogs.wsj.com/digits/2014/03/18/want-to-stay-anonymous-dont-make-a-hit-computer-game/. live.
- Web site: Brown . Mark . There are 15 new Threes! / 2048 clones released on the App Store every day . Pocket Gamer . April 7, 2014 . 23 January 2021 . 27 January 2020 . https://web.archive.org/web/20200127143046/https://www.pocketgamer.com/articles/058810/there-are-15-new-threes-2048-clones-released-on-the-app-store-every-day/ . live .
- News: Ferri-Benedetti . Fabrizio . The creator of 2048 tells us the secret behind the game's success . Softonic . 13 November 2020 . 26 March 2014 . 19 September 2020 . https://web.archive.org/web/20200919051903/https://en.softonic.com/articles/interview-with-the-creator-of-2048 . live .
- Vanhemert . Kyle . Design Is Why 2048 Sucks, and Threes Is a Masterpiece . Wired . May 7, 2014 . 14 February 2021 . 2 February 2021 . https://web.archive.org/web/20210202221240/https://www.wired.com/2014/05/threes-game-design/ . live .
- Web site: 2048-ai . Xue . Hanhong . . August 30, 2022 . 31 August 2022 . https://web.archive.org/web/20220831024028/https://github.com/macroxue/2048-ai . live . Additional results are on 2048 analysis page.
- Multi-Stage Temporal Difference Learning for 2048-like Games . 1606.07374 . Yeh . Kun-Hao . Wu . I-Chen . Hsueh . Chu-Hsuan . Chang . Chia-Chuan . Liang . Chao-Chin . Chiang . Han. July 19, 2016 . IEEE Transactions on Computational Intelligence and AI in Games . 9 . 4 . 369–380. 10.1109/TCIAIG.2016.2593710 . 6630665 .
- Guei . Hung . Chen . Lung-Pin . Wu . I-Chen . 2022 . Optimistic Temporal Difference Learning for 2048 . IEEE Transactions on Games . 14 . 3 . 478–487 . 2111.11090 . 10.1109/TG.2021.3109887 . 239727759. Corresponding code is in https://github.com/moporgic/TDL2048 .
- Web site: What does it take for human players to get the 65536 tile?. Xue. Hanhong. March 13, 2022. August 30, 2022. 31 August 2022. https://web.archive.org/web/20220831024032/https://www.reddit.com/r/2048/comments/tdmqx3/what_does_it_take_for_human_players_to_get_the/. live.
- Robert Xiao (aka nneonneo) et al. (2014) Web site: What is the optimal algorithm for the game 2048? . Stack Exchange Network . August 30, 2022 . 2 September 2022 . https://web.archive.org/web/20220902052339/https://stackoverflow.com/questions/22342854/what-is-the-optimal-algorithm-for-the-game-2048 . live .
- Web site: Artificial Intelligence crushed all human records in the addictive tile game 2048 — here's how . Olson . Randy . Insider . May 23, 2015 . August 30, 2022 . 31 August 2022 . https://web.archive.org/web/20220831024032/https://www.businessinsider.com/artificial-intelligence-crushed-all-human-records-in-the-addictive-tile-game-2048--heres-how-2015-5 . live .