Initial CPU player AI (issue #4).