Added code in player to make card tests possible