A few days ago I came across the webgame 2048. It was simple enough, all you have to do was use the arrow keys to move tiles on the page combining matching tiles, that exist in powers of 2, with the goal of getting a tile to display the value 2048.
After several days of furious attempts I finally hit jackpot…and for those non-believers, here’s proof:
Hopefully this will put an end to my rather charged few days as I worked on forming an algorithm, went through all the steps I usually go through:
- Forming and follwing patterns.
- Randomly guessing what to do next
- Cycling the arrow keys
- Throwing hail mary’s.
- Trying to have some sort of adaptive system by combiningin all the above
Finally realized that I should be using only three of the arrow keys (avoided using the up arrow) and keeping the highest scored tiles in the bottom row preferrably the corner…and boom, solved, queue victory dance, and I’m off the website. With my pride, somewhat and very embarrassingly, satisfied I closed the webpage and strolled out to what initally looked pleasant but was in fact uncomfortably cold weather. After rushing back in and warming myslef up I started wondering whether the algorithm I had stumbled across was a fluke…post on facebook or try to prove it?