implemented bruteforce basic AI