文件名称:crafty
介绍说明--下载内容均来自于网络,请自行研究使用
0x88体系还可以快速判断攻击,这就是要使用16x8棋盘的另一个原因。如果你将两格子的号码相减,你会得到两个格子之间的关系。
例如,如果两个格子减下来是1,那么第二个格子就在第一个格子的左边。如果减下来是16,那么第二个格子就在第一个格子的上面。
这在8x8棋盘上是做不到的。d1 - c1 = 1确实如此,但是a2 - h1也是1。这个“回圈”问题可以在128个格子的棋盘上解决。
你在写判断将军或者一个子是否在捉另一个子的函数时,可以利用以上这个技巧。-Express 0x88 system can also determine the attack, which is to use another reason 16x8 chessboard. If you two lattice minus the number of phase, you will be the relationship between the two lattices. For example, if two squares are minus one down, then the second lattice on the lattice at the first left. If it is minus 16, then the second on the grid at the top of the first lattice. 8x8 chessboard on which are impossible. d1- c1 = 1 is true, but a2- h1 is 1. This " loop" problem can be at 128 grid solution on the chessboard. Writing you in general or to determine whether a subset of another son at catching function, this technique can make use of the above.
例如,如果两个格子减下来是1,那么第二个格子就在第一个格子的左边。如果减下来是16,那么第二个格子就在第一个格子的上面。
这在8x8棋盘上是做不到的。d1 - c1 = 1确实如此,但是a2 - h1也是1。这个“回圈”问题可以在128个格子的棋盘上解决。
你在写判断将军或者一个子是否在捉另一个子的函数时,可以利用以上这个技巧。-Express 0x88 system can also determine the attack, which is to use another reason 16x8 chessboard. If you two lattice minus the number of phase, you will be the relationship between the two lattices. For example, if two squares are minus one down, then the second lattice on the lattice at the first left. If it is minus 16, then the second on the grid at the top of the first lattice. 8x8 chessboard on which are impossible. d1- c1 = 1 is true, but a2- h1 is 1. This " loop" problem can be at 128 grid solution on the chessboard. Writing you in general or to determine whether a subset of another son at catching function, this technique can make use of the above.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
analyze.c
annotate.c
attacks.c
bench.c
bitscan.c
book.c
boolean.c
chess.h
crafty.c
crafty.hlp
data.c
data.h
dgt.c
dgtdrv.c
drawn.c
edit.c
egtb.cpp
epd.c
epd.h
epddefs.h
epdglue.c
epdglue.h
evaluate.c
evaluate.h
evtest.c
hash.c
history.c
init.c
inline32.h
inline64.h
input.c
interupt.c
iterate.c
learn.c
lock.h
main.c
make.c
Makefile
MAKEFILE.BAT
Makefile.xp
movgen.c
next.c
nexte.c
nextr.c
option.c
output.c
ponder.c
preeval.c
probe.c
quiesce.c
repeat.c
resign.c
root.c
search.c
searchmp.c
searchr.c
setboard.c
speak
swap.c
tbdecode.h
test.c
thread.c
time.c
unmake.c
utility.c
valid.c
validate.c
vcinline.h
annotate.c
attacks.c
bench.c
bitscan.c
book.c
boolean.c
chess.h
crafty.c
crafty.hlp
data.c
data.h
dgt.c
dgtdrv.c
drawn.c
edit.c
egtb.cpp
epd.c
epd.h
epddefs.h
epdglue.c
epdglue.h
evaluate.c
evaluate.h
evtest.c
hash.c
history.c
init.c
inline32.h
inline64.h
input.c
interupt.c
iterate.c
learn.c
lock.h
main.c
make.c
Makefile
MAKEFILE.BAT
Makefile.xp
movgen.c
next.c
nexte.c
nextr.c
option.c
output.c
ponder.c
preeval.c
probe.c
quiesce.c
repeat.c
resign.c
root.c
search.c
searchmp.c
searchr.c
setboard.c
speak
swap.c
tbdecode.h
test.c
thread.c
time.c
unmake.c
utility.c
valid.c
validate.c
vcinline.h