URL
https://opencores.org/ocsvn/connect-6/connect-6/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 10 |
Rev 11 |
Line 279... |
Line 279... |
#define AIW_LOSE (-AIW_WIN) /* this move loses the game */
|
#define AIW_LOSE (-AIW_WIN) /* this move loses the game */
|
#define AIW_THREAT_MAX 262144 /* value of an immediate threat */
|
#define AIW_THREAT_MAX 262144 /* value of an immediate threat */
|
|
|
typedef int AIWEIGHT;
|
typedef int AIWEIGHT;
|
/* Type for AI move weights (utilities) */
|
/* Type for AI move weights (utilities) */
|
#pragma bitsize AIWEIGHT 32
|
#pragma bitsize AIWEIGHT 64
|
|
|
typedef struct {
|
typedef struct {
|
AIWEIGHT weight;
|
AIWEIGHT weight;
|
BCOORD x, y;
|
BCOORD x, y;
|
} AIMove;
|
} AIMove;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.