Skip to content

Python bot for 2048 puzzle game. Cause bot do it better than I

Notifications You must be signed in to change notification settings

iamruss/2048-solver-bot

 
 

Repository files navigation

2048 solver bot

This bot runs thru Selenium ChromeDriver and will connect directly to original web-version of 2048 game which host on http://gabrielecirulli.github.io/2048/ . This game will run all it JS's on client side so no need to worry about web-traffic or Gabriel's server loading.)

###Dependencies

After installing ChromeDriver it needs to determine binaries location in script like this:

chromedriver = "/Users/user/Downloads/chromedriver"

###Usage

  • ResultLog.csv -- log of all game played
  • Batch-launcher.py -- run 2048-solver-bot.py as multiple instances thru subprocess
  • 2048-solver-bot.py -- the main script which solves
Arg Full Description
-h --help Show help message and exit
-p --play Immediately starts playing after running
-a --noanim Remove tile animation to slightly sped up process
-g X --games X Play exact X games
-n STR --note STR Short note string <140 chrs in "quotes" will add to csv with each game result
-d --debug Reserved for debugging purposes
-l X --loglevel X Verbose level from 0 to 2

About

Python bot for 2048 puzzle game. Cause bot do it better than I

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published