Skip to content

xshot9011/hexinvader-auto-shooting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEXINVADER

R

for education purpose using selenium

auto clicking color

this program make for window user (driver limitation) if linux find another driver instead and change version of driver in python code file

select the path to the chrorm driver of your os

...
driver = webdriver.Chrome(os.path.join('chromedriver', 'chromedriver'+str(sys.argv[1]))+'.exe')
....

Getting Started

$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt

or with anaconda

conda create --name bot python=3.7
conda activate bot
pip install -r requirements.txt

Usage

check version of chrome

wmic datafile where name="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" get Version /value
>>>
Version=88.0.4324.182

After get version

python ./hexinvader.py 88

the browser will open and enjoin with manual click on button

while the playing the game, it automatically click on matched color element

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages