Get rudimentary AI working