Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 07-Practice-05.04.2022 / Game.h
diff options
context:
space:
mode:
Commit2cf8d711c3dd110555c16913941f865841aa3175 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 08:40:07 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 08:40:07 +0300
Filesf9822151e8c05911cc6919e7a8a9c4daee1e929a /Year 1/Object-oriented Programming/07-Practice-05.04.2022/Game.h
uni-projects-2cf8d711c3dd110555c16913941f865841aa3175.tar
uni-projects-2cf8d711c3dd110555c16913941f865841aa3175.tar.gz
uni-projects-2cf8d711c3dd110555c16913941f865841aa3175.zip
Parente9f62e28a4de3f9051da9b437bd6130328de2d90 (diff)
Fixed folder naming from yesterdays oop practice
1 files changed, 19 insertions, 0 deletions
-rw-r--r--Year 1/Object-oriented Programming/07-Practice-05.04.2022/Game.h19
diff --git a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Game.h b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Game.h
new file mode 100644
index 0000000..96feeaf
--- /dev/null
+++ b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Game.h
@@ -0,0 +1,19 @@
+#include <iostream>
+#include "Player.h"
+#include "GameCase.h"
+
+class Game {
+ GameCase* cases;
+ unsigned caseCount;
+
+ void turn(Player&, double&);
+
+public:
+ Game(const GameCase*, unsigned);
+
+ Game(const Game&);
+ Game& operator=(const Game&);
+ ~Game();
+
+ void play(Player&);
+};