This is a script which runs a "bot" that tries to solve the incredibly addictive 2048 game. It makes use of Groovy and browser automation with Geb.
-
First step, if you don’t have it, you need to install Groovy.
-
Second step is to install the Google Chrome WebDriver (just unzip the appropriate file to a local directory)
-
Next, edit the script to set the path to the Chrome Driver
-
then execute the script: groovy solver2048.groovy