Another approach to making an AI