Search found 411 matches

by kbhearn
Sun Sep 24, 2017 9:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Peace-Chess Challenge
Replies: 45
Views: 7080

Re: The Peace-Chess Challenge

Total number of unions increases could be 'progress' - a piece can only be released from a union if another piece enters a union, so number of unions cannot go down. in the case that all non-kings are in union, the game must be drawn. 'Progress' is what brings you closer to a win. If you get closer...
by kbhearn
Sun Sep 24, 2017 2:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Peace-Chess Challenge
Replies: 45
Views: 7080

Re: The Peace-Chess Challenge

Since the kings can't initiate a union, and the only way pieces can leave a union is by another piece initiating a union, only kings in non-union has to be a draw - there's just no way to hug a king anymore.
by kbhearn
Sun Sep 24, 2017 2:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Peace-Chess Challenge
Replies: 45
Views: 7080

Re: The Peace-Chess Challenge

Regarding repetition though, i don't know that 3-fold repetition is draw is going to work out ok. i.e. imagine the situation where side A threatens to win by moving queen-hugging-bishop into position where it can be chained in for a win. and side B of course moves it away. Obviously if A's position ...
by kbhearn
Sun Sep 24, 2017 2:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Peace-Chess Challenge
Replies: 45
Views: 7080

Re: The Peace-Chess Challenge

Regarding an evaluation - certain pairs of unions are probably advantageous to one side vs another - i.e. having your queen unioned to a lesser piece or pawn is a penalty as it greatly detracts your ability to set off a winning capture chain that you don't have sole control of your most powerful pie...
by kbhearn
Sun Sep 24, 2017 1:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Peace-Chess Challenge
Replies: 45
Views: 7080

Re: The Peace-Chess Challenge

Total number of unions increases could be 'progress' - a piece can only be released from a union if another piece enters a union, so number of unions cannot go down. in the case that all non-kings are in union, the game must be drawn.
by kbhearn
Tue Sep 19, 2017 7:09 pm
Forum: Computer Chess Club: General Topics
Topic: Where's the joy in writing a chess engine?
Replies: 44
Views: 10157

Re: Where's the joy in writing a chess engine?

A few things: 1) A chess engine is a bit more algorithm-oriented than most hobby programming projects you might take on. It makes it a bit more enjoyable for people who like thinking about such things than say... a user interface for anything which is a lot of design work and some very tedious progr...
by kbhearn
Tue Sep 05, 2017 10:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Evaluation as a composite
Replies: 26
Views: 4808

Re: Evaluation as a composite

Nothing wrong with partitioning a long function into distinct subfunctions and then call them in sequence in the main eval. Some would even call it a good practice to do so - but what you linked has nothing to do with that.
by kbhearn
Mon Sep 04, 2017 11:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Evaluation as a composite
Replies: 26
Views: 4808

Re: Evaluation as a composite

While I'm probably going to regret replying to this... The main issue is you're taking a solution and going looking for a problem. What do you find unmanageable about your current evaluation and how does this address it to make it more manageable? Nothing about a tree structure with a variety of nod...
by kbhearn
Wed Aug 30, 2017 11:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ab-initio evaluation tuning
Replies: 51
Views: 8699

Re: Ab-initio evaluation tuning

Stockfish apparently does this too, per the comment "Second-degree polynomial material imbalance by Tord Romstad." Could someone please explain how this works and/or point me to something that would? Thanks. I think Tord's inspiration came from the bishop pair bonus and the various imbalance/scalin...
by kbhearn
Mon Jul 31, 2017 6:59 pm
Forum: Computer Chess Club: General Topics
Topic: Will you use hash saving?
Replies: 8
Views: 1998

Re: Will you use hash saving?

A hash table can contain several millions of entries. So a pgn file seems not to be a good container for it. Also there are a lot of other drawbacks. Pgn databases can also contain millions of games and even more positions. But I was thinking mainly to save only parts of the hash (by material "slic...