Software:2048 (video game)

From HandWiki
Short description: 2014 puzzle game
2048
2048 logo.svg
App icon
Developer(s)Gabriele Cirulli
Publisher(s)Solebon llc
Platform(s)Web browser, iOS, Nintendo 3DS , Android, Apple TV, KaiOS, Teslatari
ReleaseWeb: 9 March 2014[1]
Genre(s)Puzzle
Mode(s)Single-player

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.[3] 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

A completed game. The 2048 tile is in the bottom-right corner.

2048 is played on a plain 4×4 grid, with numbered tiles that slide when a player moves them using the four arrow keys.[4] 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.[5] 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.[6][7] The resulting tile cannot merge with another tile again in the same move. Higher-scoring tiles emit a soft glow;[5] the largest possible tile is 131,072.[8]

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.[9] 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.[5]

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.[10][11][12] When the player has no legal moves (there are no empty spaces and no adjacent tiles with the same value), the game ends.[3][13]

Strategy

Strategies in 2048 include keeping the largest tiles in a specific corner and to keep that tile in that corner and to fill the specified row with the largest numbers.[14][15]

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.[16] "It was a way to pass the time", he said.[10] He described it as being "conceptually similar" to the recently released iOS game Threes,[3][17] and a clone of another game, 1024.[10] Developed by Veewo Studio,[18] 1024 is itself a clone of Threes, with its App Store description once reading "no need to pay for Threes".[19] Cirulli's README for 2048 cites another 1024 clone as influence: the homonymous but slightly different in terms of mechanics 2048 by Saming.[20]

Cirulli was surprised when his weekend project received over 4 million visitors in less than a week.[4][21] The game is free to play, Cirulli having said that he was unwilling to make money "from a concept that [he] didn't invent".[22] He released ports for iOS and Android in May 2014.[23]

Adaptations

2048
A 2048 variant played on a terminal using the curses library

The simple controls allowed it to be used in a promo video for the Myo gesture control armband,[24] and the availability of the code underneath allowed it to be used as a teaching aid for programming.[25] The second-place winner of a coding contest at Matlab Central Exchange was an AI system that would play 2048 on its own.[26] 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.[4][25]

Spinoffs have been released online and include versions with elements from the Doge meme, Doctor Who, Flappy Bird and Tetris. There has also been a 3D version[27] and versions with bigger or smaller grids.[7] Cirulli sees these spinoffs as "part of the beauty of open source software"[6] and does not object to them "as long as they add new, creative modifications to the game".[28] In 2014, an unofficial clone of the game was published in the iOS app store by Ketchapp, monetized with advertising.[29][30] There has also been a Doctor Who spinoff of the game,[31] as well as one for the Nintendo 3DS , which included a retail release.[32]

Reception

The game has been described by The Wall Street Journal as "almost like Candy Crush for math geeks",[6] and Business Insider called it "Threes on steroids".[1] Caitlin Dewey of The Washington Post called it "a nerdy, minimalist, frustrating game",[11] while The Independent called it "addictive".[19] 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".[5]

James Vincent of The Independent labeled 2048 as "a clone of a clone".[19] In April 2014, Pocket Gamer reported that 15 new clones of Threes were released daily in the App Store.[33] 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."[3]

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's tile merging variant, because it made the game too easy.[34] In a 2014 Wired article, they claimed to have each beaten 2048 on their first play.[34]

AI

The mathematical nature of 2048 has made the game of interest to AI researchers. As of 2022, AI achieved[35] 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 [36] and [37]). 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.[35][38]

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.[39][40] The parameters are optimized by a search for better parameter values; some papers[36][37] used temporal difference reinforcement learning.

References

  1. 1.0 1.1 Dickey, Megan Rose (23 March 2014). "Puzzle Game 2048 Will Make You Forget Flappy Bird Ever Existed". Business Insider. http://www.businessinsider.com/2048-puzzle-game-2014-3. 
  2. "2048". https://github.com/gabrielecirulli/2048. 
  3. 3.0 3.1 3.2 3.3 Ferri-Benedetti, Fabrizio (26 March 2014). "The creator of 2048 tells us the secret behind the game's success". Softonic. https://en.softonic.com/articles/interview-with-the-creator-of-2048. 
  4. 4.0 4.1 4.2 Spence, Peter (17 March 2014). "How One 19 Year Old Won the Internet with Addictive Puzzler 2048". City A.M.. http://www.cityam.com/blog/1395045472/how-one-19-year-old-won-internet-addictive-puzzler-2048. 
  5. 5.0 5.1 5.2 5.3 Rodriguez, Salvador (24 March 2014). "Move over Flappy Bird: The latest gaming craze is 2048". Los Angeles Times. http://www.latimes.com/business/technology/la-fi-tn-2048-latest-gaming-craze-20140324-story.html. 
  6. 6.0 6.1 6.2 Ballard, Ed (18 March 2014). "Want to Stay Anonymous? Don't Make a Hit Computer Game". The Wall Street Journal. https://blogs.wsj.com/digits/2014/03/18/want-to-stay-anonymous-dont-make-a-hit-computer-game/. 
  7. 7.0 7.1 Chang, Jon (24 March 2014). "'2048' Is the Next Mobile Game to Eat Up Your Time". ABC News. https://abcnews.go.com/Technology/2048-mobile-game-eat-time/story?id=23037239. 
  8. Neller, Todd W. (2015). "Pedagogical Possibilities for the 2048 Puzzle Game". Journal of Computing Sciences in Colleges 30 (3): 38–46 [39]. https://cupola.gettysburg.edu/cgi/viewcontent.cgi?article=1025&context=csfac. Retrieved 28 January 2021. 
  9. Price, Rob (March 2, 2020). "This hyper-addictive math game is driving the Internet insane". Daily Dot. https://www.dailydot.com/debug/2048-math-game/. 
  10. 10.0 10.1 10.2 Kharpal, Arjun (26 March 2014). "19-Year-Old Makes Viral Game Hit in a Weekend". CNBC. https://www.cnbc.com/2014/03/26/19-year-old-makes-viral-game-hit-in-a-weekend.html. 
  11. 11.0 11.1 Dewey, Caitlin (April 23, 2014). "Everything you ever wanted to know about 2048, the Internet's latest impossible hit game". The Washington Post. 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/. 
  12. Statt, Nick (March 22, 2014). "2048 starts easy; gets hard. Here's how to make it easy again". CNet. https://www.cnet.com/news/2048-starts-easy-gets-hard-heres-how-to-make-it-easy-again/. 
  13. Hartmans, Avery (January 18, 2018). "How to play '2048,' the addicting smartphone game Travis Kalanick is obsessed with". Business Insider. https://www.businessinsider.com/how-to-play-2048-smartphone-game-travis-kalanick-2018-1. 
  14. Johnston, Stephen (7 December 2021). "2048 Game Strategy - How to Always Win at 2048". https://www.gameskinny.com/lnagr/2048-game-strategy-how-to-always-win-at-2048. 
  15. "Six tips and tricks to help you achieve your highest score in 2048!". 13 July 2018. https://www.imore.com/2048-tips-and-tricks. 
  16. Rodriguez, Salvador (27 March 2014). "2048: The new app everyone's talking about". Los Angeles Times. http://www.latimes.com/business/technology/la-fi-tn-2048-hit-game-creator-gabriele-cirulli-20140327,0,3285397.story#axzz2yiskNuep. 
  17. Hern, Alex (March 31, 2014). "'Threes is the reason 2048 exists' - game creators hit out at clone". The Guardian. https://www.theguardian.com/technology/appsblog/2014/mar/31/threes-creators-2048-game-clone. 
  18. Saming. "2048". http://saming.fr/p/2048/. 
  19. 19.0 19.1 19.2 Vincent, James (March 21, 2014). "2048: How to play the addictive successor to the Flappy Bird game". The Independent. https://www.independent.co.uk/life-style/gadgets-and-tech/2048-game-how-to-play-the-addictive-successor-to-flappy-bird-9207556.html. 
  20. Cirulli, Gabriele (10 March 2014). "README.md". https://github.com/gabrielecirulli/2048/blob/master/README.md. 
  21. Rodriguez, Salvador (27 March 2014). "Maker of Hit Puzzle Game '2048' Says He Created It over a Weekend". Los Angeles Times. http://www.latimes.com/business/technology/la-fi-tn-2048-hit-game-creator-gabriele-cirulli-20140327,0,3285397.story. 
  22. Reinsberg, Hillary (18 March 2014). "Why This Free Puzzle Game Is The Most Addictive Thing On The Internet". https://www.buzzfeednews.com/article/hillaryreinsberg/why-this-free-puzzle-game-is-the-most-addictive-thing-on-the. 
  23. "2048, success and me — Gabriele Cirulli". http://gabrielecirulli.com/articles/2048-success-and-me. 
  24. Etherington, Darrell (24 March 2014). "Watch The Myo Armband Make One 2048 Addict Feel like He's 'A Part' of The Game". TechCrunch. https://techcrunch.com/2014/03/24/watch-the-myo-armband-make-one-2048-addict-feel-like-hes-a-part-of-the-game/. 
  25. 25.0 25.1 Brown, Andy; Spikes, Sarah. "Make Your Own 2048". Udacity. https://www.udacity.com/course/ud248. 
  26. "2048 Game Solver". The MathWorks, Inc.. http://www.mathworks.in/matlabcentral/fileexchange/46483-2048-game-solver. 
  27. Perez, Sarah (24 March 2014). "Clones, Clones Everywhere – '1024,' "2048' and Other Copies of Popular Paid Game 'Threes' Fill The App Stores". Techcrunch. https://techcrunch.com/2014/03/24/clones-clones-everywhere-1024-2048-and-other-copies-of-popular-paid-game-threes-fill-the-app-stores/. 
  28. Graham, Jefferson (28 March 2014). "2048: The new app everyone's talking about". USA Today. https://www.usatoday.com/story/tech/columnist/talkingtech/2014/03/28/talking-tech-2048/6951781/. 
  29. Klepek, Patrick (30 April 2015). "The Messy Story Behind A Game Clone". Kotaku. http://www.kotaku.com.au/2015/04/the-messy-story-behind-a-game-clone/. 
  30. Nyugen, Kevin (February 10, 2022). "Revisiting Threes, 2048, And The Endless Chain Of Ripoffs". The Verge. https://www.theverge.com/22914955/threes-2048-ketchapp-copycats-clones-mobile-games. Retrieved February 10, 2022. 
  31. Fullerton, Huw (July 30, 2020). "Doctor Who fans are losing their minds over the new 'Thirteen' Doctors game". Radio Times. https://www.radiotimes.com/news/tv/2020-06-30/doctor-who-thirteen-game/. 
  32. Schreier, Jason (19 June 2014). "Clone of Clone of Clone Now on 3DS eShop". Kotaku. http://kotaku.com/clone-of-clone-of-clone-now-on-3ds-eshop-1593148524. 
  33. Brown, Mark (April 7, 2014). "There are 15 new Threes! / 2048 clones released on the App Store every day". https://www.pocketgamer.com/articles/058810/there-are-15-new-threes-2048-clones-released-on-the-app-store-every-day/. 
  34. 34.0 34.1 Vanhemert, Kyle (May 7, 2014). "Design Is Why 2048 Sucks, and Threes Is a Masterpiece". Wired. https://www.wired.com/2014/05/threes-game-design/. Retrieved 14 February 2021. 
  35. 35.0 35.1 Xue, Hanhong. "2048-ai". https://github.com/macroxue/2048-ai.  Additional results are on 2048 analysis page.
  36. 36.0 36.1 Yeh, Kun-Hao; Wu, I-Chen; Hsueh, Chu-Hsuan; Chang, Chia-Chuan; Liang, Chao-Chin; Chiang, Han (July 19, 2016). "Multi-Stage Temporal Difference Learning for 2048-like Games". IEEE Transactions on Computational Intelligence and AI in Games 9 (4): 369–380. doi:10.1109/TCIAIG.2016.2593710. 
  37. 37.0 37.1 Guei, Hung; Chen, Lung-Pin; Wu, I-Chen (2022). "Optimistic Temporal Difference Learning for 2048". IEEE Transactions on Games 14 (3): 478–487. doi:10.1109/TG.2021.3109887.  Corresponding code is in [1] .
  38. Xue, Hanhong (March 13, 2022). "What does it take for human players to get the 65536 tile?". https://www.reddit.com/r/2048/comments/tdmqx3/what_does_it_take_for_human_players_to_get_the. 
  39. Robert Xiao (aka nneonneo) et al. (2014) "What is the optimal algorithm for the game 2048?". Stack Exchange Network. https://stackoverflow.com/questions/22342854/what-is-the-optimal-algorithm-for-the-game-2048. 
  40. Olson, Randy (May 23, 2015). "Artificial Intelligence crushed all human records in the addictive tile game 2048 — here's how". Insider. https://www.businessinsider.com/artificial-intelligence-crushed-all-human-records-in-the-addictive-tile-game-2048--heres-how-2015-5. 

External links