Skip to content

Commit

Permalink
Complete game flow v2.0
Browse files Browse the repository at this point in the history
Complete game flow v2.0
  • Loading branch information
KILNETA authored Jun 6, 2021
1 parent 83777fb commit d503223
Show file tree
Hide file tree
Showing 5 changed files with 563 additions and 119 deletions.
15 changes: 13 additions & 2 deletions Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#include <conio.h>

extern void Title(); //片頭 (Title.cpp)
extern void MultiplayerGame(); //片頭 (Title.cpp)
extern int MainScreen();//主畫面 (Title.cpp)
extern void Enactment();//設定
extern void MultiplayerGame(); //多人遊戲 (MultiplayerGame.cpp)

#include <iostream>
#include <iomanip>
Expand All @@ -14,5 +16,14 @@ using namespace std;

int main()
{
MultiplayerGame();
while (1)
{
switch (MainScreen())
{
case 1:break;//單 人 遊 戲
case 2:MultiplayerGame(); break;//多 人 遊 戲
case 3:break;//設 置
case 4: return 0; break;//離 開 遊 戲
}
}
}
Loading

0 comments on commit d503223

Please sign in to comment.