2048 is a single-player sliding tile puzzle video game written by Italian web developer Gabriele Cirulli and published on GitHub. 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
2048 works by generating a 2 or 4 tile in a random open spot on the board everytime you make a move. Currently in the game the generation is essentially random. Our goal is to design an AI to always place the tile in the most difficult location possible. This will in theory make the game much more challenging than it currently is and create a fun new experience for players.
To create the AI, we made a pretty basic neural network. We went in with the basic idea of the input being the numbers on the 16 tiles on the board, with empty tiles being a 0, and the output being how good a placement on each tile was. From this, we learned about neural networks and decided on a network with 16 nodes per layer, and 5 total layers (3 hidden layers), since this number is small enough that we can manually examine the weights and biases if needed. From there, we developed the software necessary to create it and train it to play properly.
M Caputo, Sam Jeffe, Trey Allen, Jacob Plax