Issue 47 in gray-matter: don't actually make illegal moves

0 views
Skip to first unread message

codesite...@google.com

unread,
Aug 3, 2010, 6:14:09 PM8/3/10
to gray-matter-...@googlegroups.com
Status: Accepted
Owner: protonspring
Labels: Type-Defect Priority-Medium

New issue 47 by protonspring: don't actually make illegal moves
http://code.google.com/p/gray-matter/issues/detail?id=47

I'm thinking we should not actually make
illegal moves. I think we check for this
in board_base::make.

for some reason in board_base::get_status
we are checking for illegal moves, but
if board_base::make is doing this, we
don't have to waste cycles checking for
them every move.


codesite...@google.com

unread,
Aug 4, 2010, 12:42:25 PM8/4/10
to gray-matter-...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 47 by protonspring: don't actually make illegal moves
http://code.google.com/p/gray-matter/issues/detail?id=47

I removed the checking of illegal position in get_position since
board_base::make should not allow it anyways. I had GM play about 100
games with gnuchess. There were no errors, so I'm guessing this is fine.

Reply all
Reply to author
Forward
0 new messages