Website Summary Files Commits Branches @commit @diff @stats
path: root / DiamondProblemAndPolymorphism / Chess / main.cpp
blob: 2caaee8911edb605c73fccb8203a67d97f8afced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>
#include "Board.hpp"
using namespace std;

int main()
{
	while (1)
	{
		Board b;
		b.AddBishop(3, 4, true);
		b.AddKnight(2, 3, false);
		b.Print();
		b.MoveFigure(3, 4, 2, 3);
		b.Print();
	}
}