aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: 22b94e54910d6284b574b7ebc53997571e271e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <cstdlib>

#include "board.hpp"

#define WHITE = true
#define BLACK = false

int main(){
    board b;
    b.turn = true;
    for (int i = 0; i < 64; i++) {
        piece NewPiece;
        NewPiece.color = true;
        NewPiece.moved = false;
        NewPiece.type = ROOK;
        b.pieces[i] = NewPiece;
    };
    printBoard(&b);
    return EXIT_SUCCESS;
}