-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
46 lines (35 loc) · 1005 Bytes
/
Copy pathmain.cpp
File metadata and controls
46 lines (35 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "headers/display.h"
#include "headers/player.h"
#include "headers/gameflow.h"
#include "headers/m2m.h"
#include "headers/pieceslogic.h"
#include "headers/menu.h"
#include "headers/clipalette.h"
#include <iostream>
using namespace std;
Game game;
Player player;
Display display;
Menu menu;
CLIPalette palette;
int main (){
bool start = true;
string move, piece;
int turns=0;
vector<vector<int>> board = {
{-1,-2,-3,-4,-5,-3,-2,-1},
{-6,-6,-6,-6,-6,-6,-6,-6},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{6,6,6,6,6,6,6,6},
{1,2,3,4,5,3,2,1},
};
vector<int> p1_collec={};
vector<int> p2_collec={};
int game_mode=menu.select(menu.modes);
cout<<palette.scb(menu.modes[game_mode]+"mode Initializing . . .",{palette.BLINK,palette.CYAN},1)<<endl;
// cout<<endl<<menu.modes[game_mode]<<" initializing . . ."<<endl;
system("pause");
}