#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctype.h>
#include <fcntl.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "aggression.h"
#include "assert.h"
#include "h_init.h"
#include "heuristic.h"
#include "score4.h"
#include "win_table.h"
Functions | |
| static void | _info (int argc, char *argv[]) |
| Proces any command line options. | |
| static void | _init (void) |
| Perform initialization. | |
| static void | _play (void) |
| This routine does the work of timing heuristic_1(). | |
| static void | _usage (void) |
| Print usage message for Score Four. | |
| int | main (int argc, char *argv[]) |
Variables | |
| short | a_board_1 [NUM_PLAINS] |
| Alpha board. | |
| short | b_board_1 [NUM_PLAINS] |
| Beta board. | |
| short * | alpha_ptr_1 |
| Alpha board ptr. | |
| short * | beta_ptr_1 |
| Beta board ptr. | |
| char | mach_ch_1 |
| Machine stone - wither 'O' or 'X'. | |
| char | user_ch_1 |
| User stone - wither 'O' or 'X'. | |
| int * | coeff_1 |
| Coefficients. | |
|
||||||||||||
|
|
1.4.5