Computer Chess Club Archives


Search

Terms

Messages

Subject: HELP IMPLEMENTING MIN-MAX

Author: Nicolas Carrasco

Date: 11:59:45 09/18/99


I would be extreamly pleased to be helped on implementing a simple MIN-MAX
searching function to my program.

///////////////////////////DATA/////////////////////////////
#define BOOL        char

struct move_list {
 move_data b[250];
 unsigned char number;
};

struct move_data {
 unsigned char from;
 unsigned char to;
 unsigned char promote;
 unsigned char bits;
};

move_list move; // GEN post moves here EXAMPLE: move.b[xxx].to

BOOL make_move(move_data)
void unmake_move(void);
int eval (void) // ONLY MATERIAL

///////////////////////////END OF DATA/////////////////////////////

PLEASE POST A SEARCH FUNCTION HERE!!!!!!!!!!!!!!!!



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.