updated the code of main
This commit is contained in:
parent
2899820bcc
commit
e821814cd1
@ -1,11 +1,14 @@
|
|||||||
#include "stickfosh.hpp"
|
#include "ais/ai.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
std::string pos =
|
std::string pos =
|
||||||
"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
|
"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
|
||||||
std::string move = search(pos, 4);
|
|
||||||
|
ai::v1_simple ai;
|
||||||
|
|
||||||
|
std::string move = ai.search(pos, 4);
|
||||||
std::cout << move << std::endl;
|
std::cout << move << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user