Skip to content

Attempt to create an naive AI bot to finish the game storm the house.

Notifications You must be signed in to change notification settings

saturnin13/storm-the-house-auto-clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

storm-the-house-auto-clicker

Creation of an automated bot to play the game storm the house. The goal is for the bot to play only using clicking, it is not allowed to repair or buy upgrades to help it out.

Ingame screenshot

How to run

Requirements

Note that it only works for Mac. For other platform some adjustment might be needed.

Furthermore, the value for the location of the game have currently been hardcoded for a 1680*1050 screen, this needs to be adjusted in the constant.py value to make it work. Simply look at the position of the various constant and input them (CMD + SHIFT + 4 for mac).

Launch

# Install dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Run auto-clicker
./src/main.py

Run

There are 2 main functions in the main.py:

The first launchStormTheHouse launch the game by automatically launching chrome and then typing the website link and clicking start. It can be de-activated if you wish.

The second playStormTheHouse launch the auto-clicker, it will only be active in the area of the game (defined in the constants). It takes 2 parameters, the first set whether or not the autoclicke ris activated by touching the left side of the screen, the second decides whether or not the auto-clicker automatically goes to the next level and does the upgrade in the game.

About

Attempt to create an naive AI bot to finish the game storm the house.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages