highkite / alphabot Goto Github PK
View Code? Open in Web Editor NEWFarming bot for the game **Alpha Wars** (http://eng.alphawars.com/)
Farming bot for the game **Alpha Wars** (http://eng.alphawars.com/)
This is so nice, as i found it !After! I made such a thing on my own (for Delta Wars 5), for the exact same reasons....
My algorithm (not using libraries to analyze the image), gets a 4/5 accuracy as well, but automatically clicks for one base of each map...
It also:
logs you in again if you got logged out
tries again if it missclics
automatically produces pans if you tell him to
it works by splitting shapes (that are not connected)
analyzing shapes by finding edges (geometrically, like the point fearest away from the midpoint must be an egde) and looking how far the points differ from these lines.... that way it successfully finds lonely triangles (not to click) and rectangles (to click), but if they are overlapping it just clicks in the middle of the shape
I dont know why i wrote this, but it was nice to see, that someone else had the same idea
Hi, excelent job, i really you stud your script, but to make functional, i try to install but i have this error
I am using pynthon 3
Collecting matplotlib==1.3.1 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/d4/d0/17f17792a4d509943970
52220dbe3ac9850ecbde0297b7572933fa4a5c98/matplotlib-1.3.1.tar.gz (42.7MB)
100% |████████████████████████████████| 42.7MB 336kB/s
Collecting autopy==0.51 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/93/d7/209f9faed7eddfeec03f
2353f9d53ea93ba6cb1c92e657467d4fa6e45dba/autopy-0.51.tar.gz (74kB)
100% |████████████████████████████████| 81kB 2.3MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\NOTE\AppData\Local\Temp\pip-install-huf8md_g\autopy
\setup.py", line 50
print 'Updating init.py'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Upd
ating init.py')?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\NOTE\AppData\Local\Temp\pip-install-huf8md_g\autopy\
Wich python version uses that script?
I think my trouble is by that reason.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.