2048 (video game)

Last updated

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.

Contents

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 win.png
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 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. [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

A 2048 variant played on a terminal using the curses library 2048 played on a terminal using the curses library.png
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 previous papers [36] [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.

Related Research Articles

<i>Puzzle Bobble</i> 1994 video game

Puzzle Bobble, internationally known as Bust-A-Move, is a 1994 tile-matching puzzle arcade game developed and published by Taito. It is based on the 1986 arcade game Bubble Bobble, featuring characters and themes from that game. Its characteristically cute Japanese animation and music, along with its play mechanics and level designs, made it successful as an arcade title and spawned several sequels and ports to home gaming systems.

<span class="mw-page-title-main">Puzzle video game</span> Video game genre

Puzzle video games make up a broad genre of video games that emphasize puzzle solving. The types of puzzles can test problem-solving skills, including logic, pattern recognition, sequence solving, spatial recognition, and word completion. Many puzzle games involve a real-time element and require quick thinking, such as Tetris (1985) and Lemmings (1991).

<span class="mw-page-title-main">Video game clone</span> Video game that resembles another video game

A video game clone is either a video game or a video game console very similar to, or heavily inspired by, a previous popular game or console. Clones are typically made to take financial advantage of the popularity of the cloned game or system, but clones may also result from earnest attempts to create homages or expand on game mechanics from the original game. An additional motivation unique to the medium of games as software with limited compatibility, is the desire to port a simulacrum of a game to platforms that the original is unavailable for or unsatisfactorily implemented on.

<i>Pac-Attack</i> 1993 puzzle video game

Pac-Attack, also known as Pac-Panic, is a 1993 falling-tile puzzle video game developed and published by Namco for the Super Nintendo Entertainment System and Sega Genesis. Versions for the Game Boy, Game Gear and Philips CD-i were also released. The player is tasked with clearing out blocks and ghosts without them stacking to the top of the playfield — blocks can be cleared by matching them in horizontal rows, while ghosts can be cleared by placing down a Pac-Man piece that can eat them. It is the first game in the Pac-Man series to be released exclusively for home platforms.

<i>Flappy</i> 1983 puzzle video game

Flappy is a puzzle game by dB-Soft in the same vein as the Eggerland series and Sokoban that is obscure outside Japan. It features Flappy, a somewhat mole-like character who must complete each level by pushing a blue stone from its starting place to the blue tile destination.

<span class="mw-page-title-main">Minesweeper (video game)</span> Puzzle video game

Minesweeper is a logic puzzle video game genre generally played on personal computers. The game features a grid of clickable tiles, with hidden "mines" scattered throughout the board. The objective is to clear the board without detonating any mines, with help from clues about the number of neighboring mines in each field. Variants of Minesweeper have been made that expand on the basic concepts, such as Minesweeper X, Crossmines, and Minehunt. Minesweeper has been incorporated as a minigame in other games, such as RuneScape and Minecraft's 2015 April Fools update.

<span class="mw-page-title-main">Tile-matching video game</span> Type of puzzle video game

A tile-matching video game is a type of puzzle video game where the player manipulates tiles in order to make them disappear according to a matching criterion. In many tile-matching games, that criterion is to place a given number of tiles of the same type so that they adjoin each other. That number is often three, and these games are called match-three games.

<i>Flappy Bird</i> 2013 mobile game

Flappy Bird is a 2013 mobile game developed by the Vietnamese video game artist and programmer Dong Nguyen, under his game development company .Gears. The game is a side-scroller where the player controls a bird, attempting to fly between columns of green pipes without hitting them. The number of green pipes the player passes is considered as their score. Nguyen created the game over the period of several days, using a bird protagonist that he had designed for a cancelled game in 2012.

<i>Threes</i> 2014 video game

Threes is a puzzle video game by Sirvo, an independent development team consisting of game designer Asher Vollmer, illustrator Greg Wohlwend, and composer Jimmy Hinson. The game was released on February 6, 2014, for iOS devices and later ported to Android, Xbox One, Windows Phone, and Windows. In Threes, the player slides numbered tiles on a grid to combine addends and multiples of three. The game ends when there are no moves left on the grid and the tiles are counted for a final score.

<i>Puzzlejuice</i> 2012 video game

Puzzlejuice is a 2012 indie puzzle video game for iOS produced and developed by video game company Sirvo. The game is a combination of Tetris, tile-matching, and Boggle: players rearrange falling tetromino blocks into rows of similar colors, which turn into letters that are cleared from the board by forming words. The fast-paced game also includes challenges and power-ups. The development team consisted of three people; programmer Asher Vollmer initially developed the game alone, before reaching out to artist Greg Wohlwend for advice on the aesthetics. Composer Jimmy Hinson produced the game's music.

<span class="mw-page-title-main">Asher Vollmer</span> American indie video game developer (born 1989)

Asher Vollmer is an American indie video game developer. He created Puzzlejuice and Threes. Vollmer also worked on Guildlings and Beast Breaker.

<span class="mw-page-title-main">Cheetah Mobile</span> Chinese mobile internet company

Cheetah Mobile Inc (猎豹移动公司) is a Chinese mobile internet company headquartered in Beijing. As of January 2017, it has more than 634 million monthly active users.

<i>Blek</i> 2013 video game

Blek is a 2013 puzzle video game for iOS and Android by Kunabi Brother, a team of brothers Denis and Davor Mikan. The player draws a snakelike black line that recurs in pattern and velocity across the screen to remove colored dots and avoid black dots. It is minimalist in design, features excerpts of Erin Gee, and takes inspiration from Golan Levin, the Bauhaus, and Japanese calligraphy. The brothers designed the game as a touchscreen adaptation of the Snake concept and worked on the game for over six months. It was released in December 2013 for iPad, and was later released for other iOS devices and Android.

<i>Fragger</i> 2010 video game

Fragger is a popular trajectory-based puzzle game created and developed by Harold Brenes and released in 2009 for the Internet. After achieving popularity on the Internet, being played more than 100 million times, it was licensed and ported by Miniclip to iPhone in 2010, and to Android and PlayJam in 2012. By August 2014 it had become the second-placed paid app for iPhone and third overall top-grossing app in Apple's App Store. The gameplay is similar to Angry Birds. The game has had "generally favourable reviews", garnering a Metacritic score of 86% based on 5 critic reviews.

<i>Angry Birds POP!</i> 2015 tile-matching video game

Angry Birds POP! is a tile matching game co-developed by Rovio Entertainment and Outplay Entertainment that was soft launched for iOS in Canada in December 2014 and released worldwide for iOS and Android devices in March 2015.

Ketchapp SARL is a French video game publisher based in Paris, specializing in the mobile games market. Founded in 2014 by brothers Antoine and Michel Morcos, the company first came into the public eye later that year, through its port of the open-source game 2048. Ketchapp has been accused of cloning popular casual games by other developers. When Ketchapp was acquired by Ubisoft in September 2016, the company had more than 700 million downloads across their portfolio of games.

<span class="mw-page-title-main">KDE Gear</span> Set of applications and supporting libraries

The KDE Gear is a set of applications and supporting libraries that are developed by the KDE community, primarily used on Linux-based operating systems but mostly multiplatform, and released on a common release schedule.

<i>Bee Leader</i> 2012 video game

Bee Leader is a game about collecting the most nectar and turning it into honey before the sun sets. It was released by Flightless.

<i>Sega Heroes</i> 2018 video game

Sega Heroes was a free-to-play puzzle video game developed by Demiurge Studios and published by Sega for Android and iOS. Released on November 14, 2018, the game ceased operations in May 2020 following Demiurge's split from Sega to become an independent video game developer.

Wordle is a web-based word game created and developed by Welsh software engineer Josh Wardle. Players have six attempts to guess a five-letter word, with feedback given for each guess in the form of colored tiles indicating when letters match or occupy the correct position. The mechanics are similar to the 1955 pen-and-paper game Jotto and the television game show franchise Lingo. Wordle has a single daily solution, with all players attempting to guess the same word.

References

  1. 1 2 Dickey, Megan Rose (23 March 2014). "Puzzle Game 2048 Will Make You Forget Flappy Bird Ever Existed". Business Insider. Archived from the original on 25 March 2014. Retrieved 27 March 2014.
  2. "2048". GitHub .
  3. 1 2 3 4 Ferri-Benedetti, Fabrizio (26 March 2014). "The creator of 2048 tells us the secret behind the game's success". Softonic. Archived from the original on 19 September 2020. Retrieved 13 November 2020.
  4. 1 2 3 Spence, Peter (17 March 2014). "How One 19 Year Old Won the Internet with Addictive Puzzler 2048". City A.M. Archived from the original on 20 March 2014. Retrieved 19 March 2014.
  5. 1 2 3 4 Rodriguez, Salvador (24 March 2014). "Move over Flappy Bird: The latest gaming craze is 2048". Los Angeles Times . Archived from the original on 2 November 2014. Retrieved 21 November 2014.
  6. 1 2 3 Ballard, Ed (18 March 2014). "Want to Stay Anonymous? Don't Make a Hit Computer Game". The Wall Street Journal . Archived from the original on 19 March 2014. Retrieved 4 August 2017.
  7. 1 2 Chang, Jon (24 March 2014). "'2048' Is the Next Mobile Game to Eat Up Your Time". ABC News. Archived from the original on 27 March 2014. Retrieved 27 March 2014.
  8. Neller, Todd W. (2015). "Pedagogical Possibilities for the 2048 Puzzle Game". Journal of Computing Sciences in Colleges. 30 (3): 38–46 [39]. Archived from the original on 9 July 2020. Retrieved 28 January 2021.
  9. Price, Rob (2 March 2020). "This hyper-addictive math game is driving the Internet insane". Daily Dot . Archived from the original on 16 July 2020. Retrieved 25 January 2021.
  10. 1 2 3 Kharpal, Arjun (26 March 2014). "19-Year-Old Makes Viral Game Hit in a Weekend". CNBC. Archived from the original on 13 September 2020. Retrieved 8 April 2014.
  11. 1 2 Dewey, Caitlin (23 April 2014). "Everything you ever wanted to know about 2048, the Internet's latest impossible hit game". The Washington Post . Archived from the original on 26 April 2016. Retrieved 25 January 2021.
  12. Statt, Nick (22 March 2014). "2048 starts easy; gets hard. Here's how to make it easy again". CNet. Archived from the original on 27 January 2016. Retrieved 25 January 2021.
  13. Hartmans, Avery (18 January 2018). "How to play '2048,' the addicting smartphone game Travis Kalanick is obsessed with". Business Insider . Archived from the original on 30 January 2021. Retrieved 25 January 2021.
  14. Johnston, Stephen (7 December 2021). "2048 Game Strategy - How to Always Win at 2048". www.gameskinny.com. Archived from the original on 8 February 2022. Retrieved 8 February 2022.
  15. "Six tips and tricks to help you achieve your highest score in 2048!". iMore. 13 July 2018. Archived from the original on 8 February 2022. Retrieved 8 February 2022.
  16. Rodriguez, Salvador (27 March 2014). "2048: The new app everyone's talking about". Los Angeles Times. Archived from the original on 19 April 2014. Retrieved 13 April 2014.
  17. Hern, Alex (31 March 2014). "'Threes is the reason 2048 exists' - game creators hit out at clone". The Guardian . Archived from the original on 11 January 2023. Retrieved 25 January 2021.
  18. Saming. "2048". Archived from the original on 9 September 2014. Retrieved 9 September 2014.
  19. 1 2 3 Vincent, James (21 March 2014). "2048: How to play the addictive successor to the Flappy Bird game". The Independent . Archived from the original on 29 March 2014. Retrieved 28 March 2014.
  20. Cirulli, Gabriele (10 March 2014). "README.md". GitHub . Archived from the original on 15 February 2019. Retrieved 28 May 2021.
  21. Rodriguez, Salvador (27 March 2014). "Maker of Hit Puzzle Game '2048' Says He Created It over a Weekend". Los Angeles Times. Archived from the original on 19 April 2014. Retrieved 27 March 2014.
  22. Reinsberg, Hillary (18 March 2014). "Why This Free Puzzle Game Is The Most Addictive Thing On The Internet". Buzzfeed News. Archived from the original on 15 May 2021. Retrieved 13 November 2020.
  23. "2048, success and me — Gabriele Cirulli". Archived from the original on 17 May 2014. Retrieved 16 May 2014.
  24. Etherington, Darrell (24 March 2014). "Watch The Myo Armband Make One 2048 Addict Feel like He's 'A Part' of The Game". TechCrunch. Archived from the original on 25 March 2014. Retrieved 25 March 2014.
  25. 1 2 Brown, Andy & Spikes, Sarah. "Make Your Own 2048". Udacity. Archived from the original on 8 April 2014. Retrieved 7 April 2014.
  26. "2048 Game Solver". The MathWorks, Inc. Archived from the original on 15 May 2014. Retrieved 6 May 2014.
  27. Perez, Sarah (24 March 2014). "Clones, Clones Everywhere – '1024,' "2048' and Other Copies of Popular Paid Game 'Threes' Fill The App Stores". Techcrunch. Archived from the original on 25 March 2014. Retrieved 25 March 2014.
  28. Graham, Jefferson (28 March 2014). "2048: The new app everyone's talking about". USA Today. Archived from the original on 30 March 2014. Retrieved 30 March 2014.
  29. Klepek, Patrick (30 April 2015). "The Messy Story Behind A Game Clone". Kotaku. Archived from the original on 29 September 2020. Retrieved 28 January 2021.
  30. Nyugen, Kevin (10 February 2022). "Revisiting Threes, 2048, And The Endless Chain Of Ripoffs". The Verge . Archived from the original on 13 April 2022. Retrieved 10 February 2022.
  31. Fullerton, Huw (30 July 2020). "Doctor Who fans are losing their minds over the new 'Thirteen' Doctors game". Radio Times. Archived from the original on 16 July 2020. Retrieved 25 January 2021.
  32. Schreier, Jason (19 June 2014). "Clone of Clone of Clone Now on 3DS eShop". Kotaku. Archived from the original on 17 July 2014. Retrieved 19 September 2014.
  33. Brown, Mark (7 April 2014). "There are 15 new Threes! / 2048 clones released on the App Store every day". Pocket Gamer. Archived from the original on 27 January 2020. Retrieved 23 January 2021.
  34. 1 2 Vanhemert, Kyle (7 May 2014). "Design Is Why 2048 Sucks, and Threes Is a Masterpiece". Wired. Archived from the original on 2 February 2021. Retrieved 14 February 2021.
  35. 1 2 Xue, Hanhong. "2048-ai". GitHub . Archived from the original on 31 August 2022. Retrieved 30 August 2022. Additional results are on 2048 analysis Archived 31 August 2022 at the Wayback Machine page.
  36. 1 2 Yeh, Kun-Hao; Wu, I-Chen; Hsueh, Chu-Hsuan; Chang, Chia-Chuan; Liang, Chao-Chin; Chiang, Han (19 July 2016). "Multi-Stage Temporal Difference Learning for 2048-like Games". IEEE Transactions on Computational Intelligence and AI in Games. 9 (4): 369–380. arXiv: 1606.07374 . doi:10.1109/TCIAIG.2016.2593710. S2CID   6630665.
  37. 1 2 Guei, Hung; Chen, Lung-Pin; Wu, I-Chen (2022). "Optimistic Temporal Difference Learning for 2048". IEEE Transactions on Games. 14 (3): 478–487. arXiv: 2111.11090 . doi:10.1109/TG.2021.3109887. S2CID   239727759. Corresponding code is in Archived 1 September 2022 at the Wayback Machine .
  38. Xue, Hanhong (13 March 2022). "What does it take for human players to get the 65536 tile?". Archived from the original on 31 August 2022. Retrieved 30 August 2022.
  39. Robert Xiao (aka nneonneo) et al. (2014) "What is the optimal algorithm for the game 2048?". Stack Exchange Network. Archived from the original on 2 September 2022. Retrieved 30 August 2022.
  40. Olson, Randy (23 May 2015). "Artificial Intelligence crushed all human records in the addictive tile game 2048 — here's how". Insider. Archived from the original on 31 August 2022. Retrieved 30 August 2022.