https://github.com/developer239/automation-engine-scripts
Frontend scripts for automation engine.
https://github.com/developer239/automation-engine-scripts
Last synced: 11 months ago
JSON representation
Frontend scripts for automation engine.
- Host: GitHub
- URL: https://github.com/developer239/automation-engine-scripts
- Owner: developer239
- Created: 2023-04-22T17:04:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T19:00:18.000Z (almost 3 years ago)
- Last Synced: 2025-01-04T21:41:42.624Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 18.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automation Engine Scripts
This repository contains a collection of scripts that can be loaded by an 📚 [automation engine](https://github.com/developer239/automation-engine) to automate
various tasks. The scripts are written in TypeScript. (Lua)
## Swords and Souls
The goal of the training mini game is to slice apples before they hit the player. Apples come at the player from
three different directions. The player receives bonus points for collecting stars that fall behind them. As the player
progresses, the game becomes increasingly faster.
The automation script does the following:
- Defines four areas (top, middle, bottom, back) to determine when apples and stars are within the player's reach.
- Sets up a YOLO object detector to detect apples and stars.
- Checks for collision detection when apples collide with the top, middle, or bottom areas, triggering the corresponding
action (up, right, or down).
- Checks for collision detection when stars collide with the back area, triggering the left arrow action.
- Throttles actions to prevent the bot from spamming keyboard keys too often (16ms)
- Throttles actions to prevent the bot from getting stuck focusing only to apples in one area and ignoring others (
260ms)
