Hi I wrote a simple bot that runs however I am considering re-writing it in Java for performance reasons and have a few questions.
Here is the general look of the code right now:
Code:
class ProjectName
{
public static void main(String[] args)
{
while (true)
{
//scrape screen
//decide what actions to take
//perform said actions
}
}
}
How do you guys manage starting/stopping a Java bot? Specifically there's essentially one large group of commands that need to run then you just repeat these commands. How are you breaking that chain?
Kind of a simplistic question but if I'm rewriting this bot I want to make sure I get this part right.