summaryrefslogtreecommitdiff
path: root/graphs/cpp/exception/game.hh
blob: e162bdae0d67d8cda4bd544024289f7e158d49a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "invalid_argument.hh"
#include "player.hh"

class Game
{
public:
    Game(int secret);
    void play(const Player& p1, const Player& p2) const;

private:
    int secret_;
};