AI Player Work

Not anywhere near done. For personal transfer.