alpha_beta.c
changeset 27 81a574d60c15
parent 9 c3fecc82ade6
child 29 7abf6146898e
--- a/alpha_beta.c
+++ b/alpha_beta.c
@@ -25,6 +25,7 @@
 typedef struct Node Node;
 
 Move *bestMove;
+
 Node *stack_end;
 
 char board[BOARD_SIZE] = {
@@ -36,8 +37,11 @@
 int desired_depth = -1;
 
 int estimateFunction ();
+
 int max_alpha_beta (int, int, int);
+
 int min_alpha_beta (int, int, int);
+
 void print (void);
 
 /**
@@ -201,7 +205,9 @@
 int max_alpha_beta (int depth, int alpha, int beta)
 {
     int moveValue;
+
     int t;
+
     Move *move;
 
     if (desired_depth == -1)
@@ -242,7 +248,9 @@
 int min_alpha_beta (int depth, int alpha, int beta)
 {
     int moveValue;
+
     int t;
+
     Move *move;
 
     t = 0;
@@ -288,7 +296,9 @@
 int main (int argc, char **argv)
 {
     Node *actual;
+
     int i, t, value;
+
     int depth;
 
     if (argc == 2)