Is there any method we gave in start void which sets the instance of eachplayer/judge/ai to a game. And if there is would you be able to add a way to
randomly assign the player/ai to a random “player a” and “player b”
Add this part with 4 hours.
And any edit I need to make on this codes to work , the deadline after 2428 hours
#include
#include
#include
#include “Player.h”
#include “Human.h”
#include “AI.h”
#include “Evaluator.h”
#include “Results.h”
#include “HelpTool.h”
using namespace std;
class Game {
private:
HumanAgent* human_agent;
Evaluator* evaluator;
AI* ai_agent;
vector prompts;
map responses;
Results* result;
public:
Game(HumanAgent* human_agent, Evaluator* evaluator, AI* ai_agent) {
this->human_agent = human_agent;
this->evaluator = evaluator;
this->ai_agent = ai_agent;
this->result = nullptr;
}
void start() {
// Send prompt to human agent and AI agent
cout aiResponse;
// Send responses to evaluator
cout