#ifndef PLAYER_H #define PLAYER_H typedef enum { COOPERATE, CONFLICT, } reaction_t; class Player { public: long points = 0; const char * name; virtual void new_game() = 0; virtual reaction_t play() = 0; virtual void push_result(reaction_t opponents_last_reaction) = 0; }; #endif