linus-jansson / btd6farmer

A tool to make autonomous macros in Bloons Td 6. Relies on OCR and template matchmating for navigation. Made in python
https://discord.gg/qyKT6bzqZQ
MIT License
32 stars 11 forks source link

Moving to json gameplans instead of csv #17

Closed linus-jansson closed 2 years ago

linus-jansson commented 2 years ago

Changed to json to make it easier to create gameplans and debug gameplans.

Also created another class to represent the settings and the gameclass which the bot will use

linus-jansson commented 2 years ago

Should be tested with #16 to see if it fixes the issue. Also to test with playing multiple matches before merging..

linus-jansson commented 2 years ago

Update: Tested with 4 consecutive matches without fail

linus-jansson commented 2 years ago

from stats file

{
    "wins": 4,
    "loses": 0,
    "winrate": "100.0%",
    "average_matchtime": "14.066 min",
    "total_time": 3375.839364051819,
    "average_matchtime_seconds": 843.9598410129547
}
jason00-r commented 2 years ago

thanks for your work on this