main.cpp 364 Bytes
Newer Older
Sam Moore's avatar
Sam Moore committed
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
#include <cstdlib>
#include <iostream>

#include "forfax.h"

using namespace std;

#include <stdio.h>

Forfax forfax;
int main(int argc, char ** argv)
{
	setbuf(stdin, NULL);
	setbuf(stdout, NULL);

	if (!forfax.Setup())
		exit(EXIT_SUCCESS);

	while (forfax.MakeMove());

	cerr << "Forfax threw a hissy fit, and exited!\n";
	
	exit(EXIT_SUCCESS);
	return 0;

	
}