a rough version of an ai player