Comments (1)
If the side to move of the current position sacrifices a piece,
Example:
- A non-capture move to a square where it can be attacked by lower piece value say Rb7 and black would reply Nxb7
- A queen captures a pawn or knight or bishop and then that queen is captured by opponent's pawn, knight, bishop or rook.
If such situation is seen by examining the main line of the game under analysis, search this position with time extension and capture the pv of the engine. Walk the pv line say up to 6 or more plies, and check the material balance at the end of the pv walk, if the material is in favor of the opponent but the search score of the engine is equal or in favor of the player that sacrifices material, then this can be considered as one player sacrifices material and a comment can be added to the move like, White sacrifices material !! or With compensation of the sacrificed material.
Another method to detect the side to move has sacrificed material is by examining the move history of the game forward. Say 12. Rb7 Nxb7 {If black is now ahead in material and search score showed in favor to white or slightly in favor to white} 13 aaa bbb 14 aaa1 bbb1 15 aaa2 bbb2 16. aaa3 with black to play and black is still ahead in material at move 16, it is possible that the move 12. Rb7 is a sacrifice.
from chess-artist.
Related Issues (20)
- Add --syzygy-path option
- Add --pv-from-match flag
- Add feature to analyze variant Chess960 games
- After ucinewgame an isready/readyok check is required HOT 4
- ImportError: No module named chess.pgn HOT 19
- Don't restart engine when solving a test suite HOT 1
- Search Depth HOT 4
- Python 3.8 and the newest python-chess HOT 4
- Indicate variant in created puzzle EPD HOT 6
- generate simple puzzle HOT 9
- create puzzles/test files stuck HOT 31
- Errors in some games HOT 6
- Pause/ continue option HOT 3
- chess-artist.exe not compatible with last stockfish builds HOT 2
- Ignores files having all caps PGN extension HOT 2
- Depth not working? HOT 5
- puzzle maker best moves same as provided move HOT 2
- Supports comment translation
- Supports egtb access without using an engine
- depth included in annotation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chess-artist.