26 lines
406 B
C++
26 lines
406 B
C++
#pragma GCC optimize ("-O3")
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include "Config.h"
|
|
|
|
#include "Board.h"
|
|
#include "Move.h"
|
|
#include "Movegen.h"
|
|
#include "Types.h"
|
|
#include "Uci.h"
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
board_init();
|
|
Serial.begin(115200);
|
|
pinMode(LED_BUILTIN, OUTPUT);
|
|
//perft_test();
|
|
//bench();
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
handle_uci();
|
|
}
|