diff options
Diffstat (limited to 'graphs/cpp/exception/game.hh')
| -rw-r--r-- | graphs/cpp/exception/game.hh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphs/cpp/exception/game.hh b/graphs/cpp/exception/game.hh new file mode 100644 index 0000000..e162bda --- /dev/null +++ b/graphs/cpp/exception/game.hh @@ -0,0 +1,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_; +}; |
