Lu 1. Game Theory of 2048

Similar documents
Mathematical Analysis of 2048, The Game

Graph Application in The Strategy of Solving 2048 Tile Game

Lu 1. The Game Theory of Reversi

AI Plays Yun Nie (yunn), Wenqi Hou (wenqihou), Yicheng An (yicheng)

Using Artificial intelligent to solve the game of 2048

Bouncy Dice Explosion

2048: An Autonomous Solver

Monte Carlo based battleship agent

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

Universiteit Leiden Opleiding Informatica

CS221 Project Final Report Automatic Flappy Bird Player

OCTAGON 5 IN 1 GAME SET

Analyzing Games: Solutions

ZumaBlitzTips Guide version 1.0 February 5, 2010 by Gary Warner

Privateer Press Designed by Will Schoonover. Revised Rulebook by Justin Alexander

2-5 Players Ages 10 and up. Contents

Bouncy Dice Explosion

All-Stars Dungeons And Diamonds Fundamental. Secrets, Details And Facts (v1.0r3)

Wild. Overlay Wild. Bonus Game. Football: Champions Cup Game Rules

Fairytale Legends: Hansel and Gretel Game Rules

Cycle Roulette The World s Best Roulette System By Mike Goodman

Presentation by Toy Designers: Max Ashley

CMS.608 / CMS.864 Game Design Spring 2008

Are you ready to take the fun, excitement and big wins of Wheel of Fortune on the road? Load up the Winnebago and fill up the tank!

ROB A BANK. How To. 3 Robber Movers (yellow, green, red) 3 Guard Movers (blue) 1 Getaway Car

COMP3211 Project. Artificial Intelligence for Tron game. Group 7. Chiu Ka Wa ( ) Chun Wai Wong ( ) Ku Chun Kit ( )

Would You Like To Earn $1000 s With The Click Of A Button?

A fun way to challenge your math thinking! Grade Levels: 4th - 8th Time: 1 class period. Check out 36 BINGO Snapshot

RULEBOOK. Nikos Chondropoulos. 2-4 players Duration 30 Ages 10+

SudokuSplashZone. Overview 3

Determine the Expected value for each die: Red, Blue and Green. Based on your calculations from Question 1, do you think the game is fair?

Overview. Equipment. Setup. A Single Turn. Drawing a Domino

Wheel Of Fortune On Tour

Corners! How To Play - a Comprehensive Guide. Written by Peter V. Costescu RPClasses.com

OVERVIEW + CONTENTS. 12 Network Boosters (3 per player color) 12 Virus tokens (3 per player color) 16 Informants (4 per player color)

How To Play Sudoku: Sudoku Puzzles, Strategy, And Help; A Basic Guide To How To Solve Sudoku By Kamon Blyde READ ONLINE

Grade 7/8 Math Circles Game Theory October 27/28, 2015

EXPLORING TIC-TAC-TOE VARIANTS

Sudoku goes Classic. Gaming equipment and the common DOMINARI - rule. for 2 players from the age of 8 up

Tutorial: Creating maze games

Part I: The Swap Puzzle

Jarl 3 Freeman 3 Spearman Chieftain Vala Berserker

Heuristics, and what to do if you don t know what to do. Carl Hultquist

Patterns in Fractions

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

DON T SABOTAGE YOUR DREAM.

Data Structure Analysis

A Quick Guide To Search Engine Optimization

Cross Out Singles. 3. Players then find the sums of the rows, columns, and diagonal, and record them in the respective circles.

Unit 12: Artificial Intelligence CS 101, Fall 2018

STReight Gambling game

HOW TO PLAY THE UK LOTTERY & EUROMILLIONS FOR FREE!!

Games for Drill and Practice

The Game of SET! (Solutions)

Yahoo bejeweled free games

Let's Play Math Games! Activities for Learning, Inc. 2017

Dead Simple Trick Brings Any Old Battery Back To Life Again!

COMPUTING CURRICULUM TOOLKIT

Bank $21,000 a month with CPA

A Mathematical Analysis of Oregon Lottery Win for Life

- 2 - Table Of Content

Sudoku Touch. 1-4 players, adult recommended. Sudoku Touch by. Bring your family back together!

THE LEVEL PLAYING FIELD ROULETTE SYSTEM

The 7 Factors Holding GCSE Students Back from Exam Success

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

Developing Frogger Player Intelligence Using NEAT and a Score Driven Fitness Function

Learning from Hints: AI for Playing Threes

Project 1: Game of Bricks

Mind Ninja The Game of Boundless Forms

Math 147 Lecture Notes: Lecture 21

Jimi Hendrix Online Slot Game Rules

Cato s Hike Quick Start

Free roulette doc Free roulette doc

This artwork is for presentation purposes only and does not depict the actual table.

Please note that this tutorial contains references to other chapters in the book!

PROBLEMS & INVESTIGATIONS. Introducing Add to 15 & 15-Tac-Toe

Warlords - Crystals of Power Game Rules. Random Overlay Wild. Scatter

Absolute Backgammon for the ipad Manual Version 2.0 Table of Contents

The Settlers of Catan Strategy Guide

the gamedesigninitiative at cornell university Lecture 6 Uncertainty & Risk

Game Maker Tutorial Creating Maze Games Written by Mark Overmars

JAVEA U3A BACKGAMMON GROUP NOTES - PART TWO STRATEGY

The 30-Minute Sales Script: Turn Discovery Calls Into High-Ticket Sales!

PLAYERS AGES MINS.

Let s Play Math Games!

Emoji Planet Video Slot Game Rules

We hope you enjoy the set. Good luck for the Indian Puzzle Championship! 3 A B C 4 H D 5 G F E 7 A B 8 H 9 G F

OZ FINANCIAL FREEDOM. Helping you make money online

The Smart Contract-Based Randomized Game, Funded With a Randomized ICO

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Comprehensive Rules Document v1.1

Performance Task. Asteroid Aim. Chapter 8. Instructional Overview

Eleventh Annual Ohio Wesleyan University Programming Contest April 1, 2017 Rules: 1. There are six questions to be completed in four hours. 2.

Don t Forget Your Maths Pack!

Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time

STEFAN RISTHAUS. A game by. for 2 4 players. 12 years and up

Video Speed is not Important,

Run Very Fast. Sam Blake Gabe Grow. February 27, 2017 GIMM 290 Game Design Theory Dr. Ted Apel

In the main game there are 3 features which are randomly activated: Legend Spins, the Appetite for Destruction Wild, and the Solo multiplier.

More Actions: A Galaxy of Possibilities

Transcription:

Lu 1 Game Theory of 2048 Kevin Lu Professor Bray Math 89s: Game Theory and Democracy 24 November 2014

Lu 2 I: Introduction and Background The game 2048 is a strategic block sliding game designed by Italian developer Gabriele Cirulli in the Spring of 2014. Although the game s idea was not entirely original there was a very similar game released a month prior to 2048 called Threes! 2048 was able to gain rapid popularity almost immediately following its debut because it was free to play, whereas its counterpart charged $1.99 to download and play. What s even more impressive, Cirulli built the game from scratch in just one weekend as simply an amusing personal challenge to see if he could, never expecting for it to go viral the way it did (Wells). Little did he know, this little project would not only cause hundreds of thousands of people to download his game, but also spawn dozens upon dozens of spin off games from the basic 2048, each with their own unique twist. All of this has resulted in making 2048 an iconic game of the year, whose craze has yet to die down over half a year later (Perez). II: Rules One huge contributing factor to 2048 s success is the simplicity of the game itself. The game is played on a 4x4 grid with sixteen squares, on which numbered tiles/blocks will slide. The entire goal of the game is to slide tiles of the same number together to combine them to reach higher and higher numbered tiles. And despite the name 2048, players may continue past the 2048 tile after reaching it, towards 4096, 8192, and beyond. Each turn, the player must pick one of the four cardinal directions to swipe, left, right, up and down, and all of the tiles on the board slide as far in that direction as they can, until they hit another tile or the edge of the board. If two tiles of the same value collide while moving, they combine into a tile the sum of the two smaller tiles. Furthermore, after each move, either a 2 or 4 tile randomly appears in one of the

Lu 3 remaining empty squares. The game ends when there are no legal moves remaining, which would mean that all sixteen squares have a tile and that no two adjacent tiles have the same value (Wells). These are simply the basic rules for the regular 2048; other variations of 2048 can be played on different sized boards, or with different tiles, or even in 3D. A quick summary of the game is provided below: III: Basic Strategy of 2048 Contrary to most people s initial beliefs when playing 2048 for the first time, there actually are strategies for getting high scores and even attaining the elusive 2048 tile, and simply swiping the tiles in random directions is most definitely not one of them. Before we get into the main strategy of the game though, it is important to make a simple observation about our objective. Reaching the 2048 tile requires the combination of two 1024 tiles meaning we need to add up to 1024 twice AND we need them to be adjacent to each other in order to combine them. Furthermore, each 1024 tile requires two 512 tiles, which each require two 256 tiles, and so on and so on. All of this means that 1) it s going to take a long time and a lot of tiles to get

Lu 4 even close to 2048, and 2) even as you grow your tiles, they will be useless and will just be taking up space unless they are next to each other and easily combinable (Zerman). This is where the main strategy comes into play. While there is no official name to this method, it involves playing the corners, and so for the remainder of this paper I shall refer to it as cornering. Cornering is basically the strategy of keeping your biggest tile in one of the four corners of the grid, and having the rest of your tiles decrease in magnitude the further they get away from the corner. Which corner you choose does not matter, so long as you pick one and stick with it throughout the game. Take a look at the following example: Notice how the biggest tile (512) is in the top right corner, and how the tiles get smaller and smaller as you go down and to the left. To follow the cornering strategy is quite simple rather than swiping in four directions, limit yourself to two directions for swiping so that your largest tile can hopefully never leave and expose its corner for a 2 or 4 tile to randomly appear and take its position. So if you pick the upper right corner, for instance, try to only swipe up and right, because swiping down or left may leave the corner exposed. There are several advantages to the cornering method which make it superior to simply swiping indiscriminately. First and foremost,

Lu 5 by keeping your biggest tile in the corner, it remains out of the way so that it can t block other tiles from merging. Your biggest tile will not have anything to merge with for the majority of the time, since it will take a long time to build another tile of equal size to merge with it, so the big tiles should stay to the sides and out of the way to let the smaller tiles interact and merge together. Just look at the third panel of the first diagram above, which has a 2048 tile and a 128 tile in the middle of the grid. This is not an ideal position because both of these two large tiles are blocking potential matches for smaller tiles (like the two 32 tiles). Secondly, by keeping your bigger tiles in the same corner, you make it easy for them to connect and merge with each other when necessary. Due to the aspect that every block must slide as far as it can for each swipe, it can be extremely difficult to link up two specific tiles if they aren t anchored in a corner. Even still, cornering alone won t guarantee getting you to the ultimate goal; fortunately, when combined with a more advanced strategy, the chances of reaching 2048, and beyond, become much higher. IV: Advanced Strategy of 2048 As useful as cornering may be, it generally isn t enough to get to 2048 by itself. Often times, by only following the cornering method, you will eventually end up with a board similar to the one below:

Lu 6 As you can see, the cornering method will lead to a lot of staggered potential matches that could eventually result in a deadlock. So instead of pure cornering, a much better strategy would be to combine it with another tactic, which I will designate as snaking, for reasons which become clear in a moment. The snaking method is basically a more advanced cornering method, because it still requires that you keep your highest tile in a corner. However, it deviates there because rather than have tiles diminish in value as they radiate away from the corner, the snaking method necessitates that your tiles diminish only along one edge from your selected corner, and upon reaching the next corner, snakes down one row and cuts back towards the opposite edge. Take a look at the following picture: So in the picture, if we keep our largest block in the top right corner, the tile size should descend along the top row from right to left, and then drop to the next row and keep descending in value from left to right, and so on. Early on, this strategy won t matter nearly as much, but especially later in the game when you re trying to reach 2048 and beyond, this strategy is virtually the only consistent way of progressing onwards. The following series of diagrams will show a step by step example of how a successful snaking works:

Lu 7 From the top left panel, I swiped right to combine the 4 tiles, then up to combine the 8 tiles, then left to combine the 16 tiles, then left to combine the 32 tiles, then left to combine the 64 tiles, then up to combine the 128 tiles, then right to combine the 256 tiles, then right to combine the 512 tiles, and finally right to combine the 1024 tiles to make 2048. This example shows just how much strategy and careful placement of tiles is necessary to beat the game. It hopefully also sheds a little light on why I dubbed it the snaking method, due to the way each the blocks collapse into themselves in the zigzag pattern across the board. Furthermore, with the 2048 tile in the corner, you are ready to start over the snake again by building up a 1024 tile next to it, followed by a 512 tile, etc, so the snaking technique even resets itself for each new wave. Hence, the combination of the cornering and snaking methods is best way to achieve the evasive 2048.

Lu 8 V: Conclusion Along with many other people around the world, I was swept up in the 2048 craze this past Spring, and I have yet to put it down for good. After hours upon hours spent playing this seemingly endless game, all I have to show for it is a personal record of reaching the 8192 tile twice ever. This got me to wonder how high would the largest theoretically possible tile could be, and it turns out that using the optimal strategy of cornering and snaking, the answer is easily intuitive. The highest tile possible given the limits of the board would be 2^17, or 131,072. This can only be achieved if the board was set up as shown below: In the spot with an X, you would need to have a 4 tile spawn there to trigger the snake chain all the way to 131,072. If you spawn a 2 there, it would be game over. All this means is that I ve got a long way to go before I can finally win and break free of the addicting game 2048.

Lu 9 Summary: Despite being less than a year old, the block sliding puzzle game 2048 has taken the world by storm and developed a global fanbase that rivals even the most popular games of the past decade. Even with such simple rules and repetitive gameplay, just one try is all it takes to see why 2048 is one of those games that you just can t break free from. Because of the randomness of the location of each new tile after a swipe, this game can never be perfectly solved; however, general strategies have been developed to exponentially increase the chances of reaching and even surpassing the 2048 tile. These strategies have yet to be given official names, but based on how they look while being implemented, I ve unofficially named them the cornering strategy and the snaking strategy. Essentially, these two tactics require that you keep your largest tile in a corner and never let it leave. The snaking method goes further and necessitates that you build your tiles along one edge in descending order away from your largest tile in the corner basically in preparation for easily collapsing everything back to the corner to reach a new highest tile. A simple plan for a simple game, yet endless hours of fun it s no wonder why 2048 has captured our attentions for so long.

Lu 10 Bibliography Perez, Sarah. "Clones, Clones Everywhere 1024, 2048 And Other Copies Of Popular Paid Game Threes Fill The App Stores." Tech Crunch. AOL Inc., 24 Mar. 2014. Web. 23 Nov. 2014. <http://techcrunch.com/2014/03/24/clones clones everywhere 1024 2048 and other copi es of popular paid game threes fill the app stores/>. Wells, V.S. "Game Review: 2048." NOUSE. Nouse, 18 Mar. 2014. Web. 23 Nov. 2014. <http://www.nouse.co.uk/2014/03/18/game review 2048/>. Zerman, Samantha. "2048 Strategy and Algorithm to Win." 2048 Strategy. Lemonade Dragon LLC, May 2014. Web. 23 Nov. 2014. <http://2048strategy.com/>.