Code Monkey home page Code Monkey logo

Comments (2)

billforsternz avatar billforsternz commented on September 16, 2024 1

Goodness me, you are completely correct of course. This is part of a line that is supposed to abort a game search if the position we are searching for has a home row black pawn (on squares a7 to h7) and during the game such a pawn moves (one square forward) - meaning that of course the game can never reach the target position. There are 8 lines of code like this - for each of black and white single pawn advance, double pawn advance, left capture and right capture. Only the black pawn, one square forward version has the bug.

The consequence of this is a small but significant performance penalty in the search. Fortunately the search results are unaffected.

Thank you very much for reporting this. In 2015 I made an effort to get to zero warnings (with MSVC compilers) and am surprised that this wasn't picked up by my compiler.

I will incorporate a fix into the next version.

from tarrasch-chess-gui.

billforsternz avatar billforsternz commented on September 16, 2024

Finally closing with pre-release V3.06a

from tarrasch-chess-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.