oh okay, I hadn't thought about that. I'm no expert, that was just my first attempt at machine learning and it seems to get the job done.
oh well. there was a brief instance in the beginning where the random ai briefly seemed to know what it was doing. rats