#2048 Optimizer for Chrome
This Chrome Extension is forcasted to optimize play of the 2048 puzzle at http://gabrielecirulli.github.io/2048/ by looking at such metrics as number of empty cells remaining, proximity of large tiles to corners, proximity of like tiles to each other, etc.
##HOW TO
To run this chrome extension you will of course need Chrome. Follow these steps:
- Open a fresh tab in your Chrome browser and navigate to chrome://extensions.
- Ensure the 'Developer Mode' checkbox is checked.
- Click the button labeled 'Load unpacked extension...', select this path to this repo on your local machine.
- In a second tab of your Chrome browser navigate to http://gabrielecirulli.github.io/2048/.
- Click on the small puzzle piece icon at the far right of your URL box.
To edit the extension:
- Make your code edits.
- Open a fresh tab in your Chrome browser and navigate to chrome://extensions.
- Under the 2048 Solver extension click the 'Reload' link.
- If you already have a tab open to http://gabrielecirulli.github.io/2048/ then you will have to refresh that page and reopen the extension.
##Current State
- The extension currently allows you to manipulate the game through left, right, up and down buttons.
- There is an optimize button which will print out statistics on the next best move based on empty cells remaining, and proximity of large tiles to corners
- All relevant print outs can be seen in the console window of the 2048 tab.
- The play button starts optimized play based on empty cells remaining.
##Known Issues
- Sometimes after editing the extension, reloading it, and refreshing your 2048 tab, the extension icon is not in the URL box.
- Simply click into the url box and press enter to navigate to the same page afresh.