rewrite the autoplayer; add a score compiler