AI implementation for level 1 (ALMOST complete....(sigh)......when will this cruelty end??)