C++11

No description

fork
loading
Files
  • main.cpp
  • board.h
  • input.h
  • user.h
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>

#include "user.h"
Piece User;

#include "board.h"
#include "input.h"

bool GAMEOVER = false;
int moveCount = 0;

int main() {
  while(GAMEOVER == false){
    boardOutput();
    input();
    if (GAMEOVER == true){
      break;
    }
    moveCount += 1;
    std::cout << "\033[2J";
  }
}