class Agent and Player