Compare commits
5 Commits
57f3767d57
...
main
Author | SHA1 | Date | |
---|---|---|---|
9187d5cc90 | |||
![]() |
660f668d22 | ||
![]() |
eabf897be6 | ||
![]() |
4c9a1a8102 | ||
![]() |
9a144f938e |
12
README.md
12
README.md
@@ -1,12 +1,14 @@
|
||||
# eatdrywallbot
|
||||
|
||||
A bot for eat drywall probably idk.
|
||||
A bot for eat drywall probably idk
|
||||
|
||||
|
||||
Setup with `start setup.bat`.
|
||||
Setup with ```start setup.bat```
|
||||
|
||||
Run with `python start.py`.
|
||||
Run with ```python start.py```
|
||||
|
||||
Press "q" anywhere to quit.
|
||||
Press "q" anywhere to quit
|
||||
|
||||
Configure in "config.jsonc".
|
||||
Configure in "config.jsonc"
|
||||
|
||||
© 2025 Valerie Hamilton - All Rights Reserved.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"iterationsPerPhoto": 6,
|
||||
"photoInterval": 2,
|
||||
"photoInterval": 1,
|
||||
"targetColor": {
|
||||
"r": 85,
|
||||
"g": 73,
|
||||
|
2
main.js
2
main.js
@@ -51,7 +51,7 @@ function clickRandomPixelOfColor(width, height, image) {
|
||||
|
||||
|
||||
async function clickRandomDrywalls(hits, width, repetitions) {
|
||||
for (let i = 0; i<repetitions; i++) {
|
||||
for (let i = 0; i < repetitions; i++) {
|
||||
|
||||
let click = Math.floor(Math.random() * hits.length); //get index of random viable pixel
|
||||
let target = deRasterize(hits[click], width);//get coordinates of random pixel
|
||||
|
Reference in New Issue
Block a user