#pragma once

#include <Player.h>
#include <vector>
#include <string>

class RePlayer : public Player {
    std::vector<std::string> moves;
    mutable std::vector<std::string>::iterator mvIt;
  public:
    RePlayer(std::vector<std::string> m) : moves(m), mvIt(moves.begin()) {}
    virtual Player& operator<<(std::string) override { return *this; } //not needed for replay
    virtual const Player& operator>>(std::string& move) override; 
};
