StateOfPlayer Class implemented