News for hackers. Stuff that matters.
Re:A step-by-step guide to building a simple chess AI by jedimastert on Friday March 31, 2017 @11:50PM (#14010305)
> values should in theory fluctuate based on current situation

The author touched this a little bit with adding the position adjustments

> my castle is worth zero to me if I'm throwing it so I can get you in check.

I know what you mean, but castling into or through check isn't a legal move and shouldn't show up in your list of possible moves.

Re:A step-by-step guide to building a simple chess AI by socmag on Saturday April 01, 2017 @02:48AM (#14010901)
Right, although I didn't mean castling into check. I meant tempting a greedy algorithm by throwing away a high value piece (which was always a weakness of early chess machines), although I realize the tree search would spot that.

Also now that I'm awake, read the article fully now.

Very cool, makes me want to try building one!