Search found 52 matches

by mhouppin
Wed Jul 01, 2020 2:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: GCC 8.1 vs GCC 10.1
Replies: 21
Views: 739

Re: GCC 8.1 vs GCC 10.1

Hi all, I am not a programmer but still have successfully compiled some C or C++ engines using GCC 8.1. I have now installed GCC 10.1 and I noticed that the file sizes I obtain using it are much bigger than the ones made with 8.1. Also, the executables are slower. I have an i5-4690K (Haswell) CPU a...
by mhouppin
Thu Jun 25, 2020 1:56 pm
Forum: Computer Chess Club: General Topics
Topic: Other fun mates
Replies: 78
Views: 7414

Re: Other fun mates

In this game, black gives everything for the attack, and it was worth the price ! now giving the rook will lead to a mate in 8 [d] r2r3k/1bp3pp/8/4p1PN/1P3PQP/1BPPK1B1/Pq3PN1/R6R b - - 0 1 Easy mate, less than 2 seconds for Stash 18.1 (Intel Core i5-4670k, 1 thread, 256 MB Hash): info depth 1 selde...
by mhouppin
Sat Jun 13, 2020 3:22 pm
Forum: Computer Chess Club: General Topics
Topic: New engine: Stash
Replies: 87
Views: 15831

Re: New engine: Stash

Hi there, version 18 is out ! This update went really fast, but I only did one major patch. I looked back at the King Safety code that I added in version 16 (that failed to improve the engine strength), re-worked slightly on it (by adding pawn attacks to king zone and excluding attacks on squares de...
by mhouppin
Fri Jun 12, 2020 12:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Simplifying code
Replies: 52
Views: 5927

Re: Simplifying code

Now I have this for alpha beta search. Don't like it. Too many if statements. ISearchResult SearchMoves(IChessPosition position, IMovePrioQ prioQ, IVariation initialVariation, int depth, int plyCount, int lb, int ub) { if (!(TimeManagement.SearchExpired(Level)) && (initialVariation == null || initi...
by mhouppin
Fri Jun 12, 2020 12:09 pm
Forum: Computer Chess Club: General Topics
Topic: Score this position
Replies: 7
Views: 332

Re: Score this position

In this position [d] 1kbQ2R1/1pr2q1r/2p2p1p/4pP1P/4P3/1P1P4/P1P5/2K3R1 w - - 13 36 g1g6 is the final move of white infiltrated black position, the queens will be gone soon, and white will create a passed pawn that may cost black its bishop. Stockfish is scoring this +2.3, Minic does the same. Do yo...
by mhouppin
Thu Jun 11, 2020 10:43 am
Forum: Computer Chess Club: General Topics
Topic: Other fun mates
Replies: 78
Views: 7414

Re: Other fun mates

Black has won ! done [d] 1r3rk1/p5pp/3p2q1/Q1pb4/2N5/4B1PP/PP3P2/4RRK1 b - - 0 26 This one took Minic depth 34 and 11 secondes to find the mate! Stash 17 (development version) needs 5 minutes to find the correct mate... Stash v17.0.dev: 1/10 00:00 170 170k +1,10 Bd5xc4 2/12 00:00 1k 1 090k +3,48 Bd...
by mhouppin
Tue Jun 09, 2020 9:33 am
Forum: Computer Chess Club: General Topics
Topic: New engine: Stash
Replies: 87
Views: 15831

Re: New engine: Stash

Hi there, version 17 is out ! This version took more time to get as more and more patches fail to pass, but here are the improvements made: - Retired King Safety evaluation (loses Elo in regression tests, probably because of the speed loss); - Improved quiet move ordering on endgames (by using corre...
by mhouppin
Mon Jun 08, 2020 9:21 am
Forum: Computer Chess Club: General Topics
Topic: What is this?
Replies: 6
Views: 536

Re: What is this?

I just analyzed a bit the position with Leela (SV-3010 net), and its idea seems to play d4 directly: [Event "Gunderam Defence: Leela Analysis"] [White "?"] [Black "?"] [Result "*"] 1. e4 e5 2. Nf3 Qe7 3. d4! d6 (3... exd4 4. Be2! Qxe4 5. O-O Nc6 6. Re1 Be7 7. Na3 Nf6 8. Nb5 $16) 4. Bc4 Nf6 5. Nc3 c6...
by mhouppin
Fri May 15, 2020 7:54 am
Forum: Computer Chess Club: General Topics
Topic: New engine: Stash
Replies: 87
Views: 15831

Re: New engine: Stash

Hi there, version 16 is out ! The engine made lots of improvements since last release: - Pawn structure now scores doubled/isolated pawns; - King safety has been added to evaluation; - Static evaluation is now stored in hash entries; - Null Move Pruning activation has been refined; - I added History...
by mhouppin
Thu May 14, 2020 7:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: sort every moves or pickNext
Replies: 14
Views: 1197

Re: sort every moves or pickNext

Well, as you refine your pruning techniques and your branching factor decreases to come around 2, I think it would definitely be worth using a pickNext function (as 90% of the generated moves will get discarded anyway, so no need to sort them). An even better approach could be to generate moves as t...