Thanks! The code I have for the AI was (i was hoping) much more intelligent, but there were sadly still a few bugs in the final hour