MSCP Function List
 
Our goal is to release a working chess engine in Java, C++, and C# by April 24, 2003.

Team News:

March 25 Milestone met. (the protoype works!)

Everyone should download the Java code, run, and test it. Just download the newest versions of each of the five files and compile them.

March 20 Milestone met.

March 6 Milestone met.

We have basically started from scratch again as of March 1.


Meetings:

TBA

 

50 total, 18 cmd_xxx functions
32 small, 9 medium, 9 large

Get printable version here.

make_move( int move ) <LARGE>

called by (10)
make_move
test_illegal
print_move_san
load_book
qsearch
search
root_search
cmd_default
cmd_undo
main
calls (1)
make_move

generate_moves( unsigned treshold ) <LARGE>

called by (6)
print_move_san
parse_move
qsearch
search
root_search
cmd_list_moves
calls (4)
gen_slides
push_move
push_pawn_move
push_special_move

print_move_san( int move ) <LARGE>

called by (4)
book_move
root_search
cmd_book
cmd_list_moves
calls (5)
print_square
generate_moves
make_move
compute_attacks
unmake_move

root_search( int maxdepth ) int <LARGE>

called by (2)
cmd_test
main
calls (7)
compute_piece_square_tables
generate_moves
make_move
compute_attacks
unmake_move
squeeze
print_move_san

compute_attacks () <LARGE>

called by (8)
test_illegal
print_move_san
parse_move
compute_piece_square_tables
qsearch
search
root_search
cmd_list_moves

qsearch( int alpha, int beta ) int <LARGE>

called by (3)
qsearch
search
root_search
calls (5)
evaluate
generate_moves
make_move
compute_attacks
unmake_move

main() int <MEDIUM>

calls (8)
rnd
cmd_new
load_book
readline
book_move
root_search
print_move_long
make_move

unmake_move() <SMALL>

called by (7)
test_illegal
print_move_san
load_book
qsearch
search
root_search
cmd_undo

load_book( char *filename ) void <MEDIUM>

called by (1)
main
calls (6)
readline
parse_move
compute_hash
compact_book
make_move
unmake_move

print_board() <SMALL>

called by (5)
setup_board
parse_move
cmd_bd
cmd_default
main
calls (1)
print_square

search( int depth, int alpha, int beta ) int <LARGE>


called by (2)
search
root_search
calls (4)
generate_moves
make_move
compute_attacks
unmake_move

parse_move( char *line, int *num ) int <LARGE>

called by (2)
load_book
cmd_default
calls (3)
compute_attacks
generate_moves
print_board

test_illegal( int move ) int <SMALL>

called by (2)
print_move_san
cmd_list_moves
calls (3)
make_move
compute_attacks
unmake_move

book_move() int <MEDIUM>

called by (2)
cmd_book
main
calls (3)
compute_hash
print_move_san
rnd

compare_move( const void *ap, const void *bp ) int <SMALL>

called by (4)
qsearch
search
root_search
cmd_list_moves

print_square( int square ) <SMALL>


called by (3)
move_long
print_board
print_move_san

push_move( int fr, int to ) int <MEDIUM>

called by (3)
push_pawn_move
gen_slides
generate_moves

setup_board( char *fen ) <MEDIUM>

called by (2)
cmd_new
cmd_fen
calls (1)
print_board

push_pawn_move( int fr, int to ) <SMALL>

called by (1)
generate_moves
calls (2)
push_special_move
push_move

cmd_list_moves( char *dummy ) <MEDIUM>

calls (3)
compute_attacks
generate_moves
print_move_san

cmd_default( char *s ) <SMALL>

calls (3)
parse_move
make_move
print_board

rnd() long <SMALL>


called by (2)
book_move
main

readline( char *line, int size, FILE *fp ) int <MEDIUM>

called by (2)
load_book
main

compute_hash() <SMALL>

transposition tables
called by (2)
load_book
book_move

push_special_move( int fr, int to ) <SMALL>

called by (2)
push_pawn_move
generate_moves

print_move_long( int move ) <SMALL>

called by (1)
main
calls (1)
print_square

gen_slides( int fr, byte dirs ) <MEDIUM>

called by (1)
generate_moves
calls (1)
push_move

atk_slide( int sq, byte dirs, struct side *s ) <SMALL>

attack tables
called by (1)
compute_attacks

compact_book() <SMALL>

called by (1)
load_book
calls (1)
compare_bk

compute_piece_square_tables() <MEDIUM>

called by (1)
root search
calls (1)
compute_attacks

compare_bk( const void *ap, const void *bp ) int <SMALL>

called by (1)
compact_book

squeeze( unsigned long n ) unsigned short <SMALL>

called by (1)
root_search

evaluate() int <LARGE>

called by (1)
qsearch

catch_sigint( int s ) <SMALL>

called by (1)
main

cmd_bd( char *dummy ) <SMALL>

calls (1)
print_board

cmd_book( char *dummy ) <SMALL>

calls (1)
print_move_san

cmd_undo( char *dummy ) <SMALL>

calls (1)
unmake_move

cmd_test( char *s ) <SMALL>

calls (1)
root_search

cmd_new( char *dummy ) <SMALL>

calls (1)
setup_board

cmd_fen( char *s ) <SMALL>

calls (1)
setup_board

cmd_both( char *dummy ) <SMALL>

cmd_white( char *dummy ) <SMALL>

cmd_black( char *dummy ) <SMALL>

cmd_force( char *dummy ) <SMALL>

cmd_go( char *dummy ) <SMALL>

cmd_set_depth( char *s ) <SMALL>

cmd_xboard( char *dummy ) <SMALL >

cmd_reset( char *dummy ) <SMALL>

cmd_quit( char *dummy ) <SMALL>

cmd_help( char *dummy ) <SMALL>