From 9c5c49c17585b8a10bdd1f238cd1ff1ee1c1d86b Mon Sep 17 00:00:00 2001 From: pc9y8rffn <920448271@qq.com> Date: Wed, 19 Jun 2024 13:59:43 +0800 Subject: [PATCH] ADD file via upload --- JinHua.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 JinHua.cpp diff --git a/JinHua.cpp b/JinHua.cpp new file mode 100644 index 0000000..2af8f89 --- /dev/null +++ b/JinHua.cpp @@ -0,0 +1,19 @@ +#include +#include "Player.h" +#include "Game.h" + +int main() { + Player player1; + Player player2; + Game game; + + game.addPlayer(player1); + game.addPlayer(player2); + + // ÓÎÏ·Âß¼­... + if (game.isGameOver()) { + game.endGame(); + } + + return 0; +} \ No newline at end of file