added intelligent opponent