make bot AI better

What do you think

@team1234/coders can you take a look 
Comments about the code quality, and possible improvements