This is the doxygen documentation for gtkboard.

.
Main Page   Data Structures   File List   Data Fields   Globals  

engine.h File Reference

#include "game.h"

Go to the source code of this file.

Data Structures

struct  Command
 A struct representing a command that the engine understands. More...


Functions

ResultType engine_eval (Pos *, float *)
void engine_poll ()
 Functions that do the actual thinking must periodically call this function. More...


Variables

Command commands []
 This structure defines the protocol.


Function Documentation

ResultType engine_eval ( Pos * pos,
float * eval )
 

void engine_poll ( )
 

Functions that do the actual thinking must periodically call this function.

It checks if new commands have arrived.

Definition at line 361 of file engine.c.


Variable Documentation

Command commands[]
 

This structure defines the protocol.

Definition at line 35 of file engine.h.