15996 Players currently online!
Man vs. Machine - good luck!
Turn-based games at any time!
Vote for the best move to win!
Do you have what it takes?
Backgammon, Yatzy, and more!
Sharpen your tactical vision!
Get advice and game insights!
Learn from top players & pros!
View millions of master games!
Your virtual chess coach!
Perfect your opening moves!
Test your skills vs. computer!
Find the right private coach!
Can you solve it each day?
Bring it all together!
Beginners, start here!
Make friends & play team games!
News from the world of chess!
Search all Chess.com members!
Find local clubs & events!
Who's the best of your friends?
Read what members are saying!
Generating chess movesAs we discussed last time, the algorithm used to identify the best move into a specific square is fairly simple. The logic examines all the possible attacks by enemy pieces into the square. We saw how the best move value could be determined by looking at all possible attacks and selecting the one from the lowest value piece as our best option.
One thing we didn't discuss was how the attack signals are to be generated. The diagram below illustrates how the attack signals can be generated from the value of the piece in the square. For example, if the piece is a king (K), the attack signals going to the squares above, below, to the left, to the right, and diagonal to it are activated. If the piece is a knight (N), only the attack signals going to the knight's possible destinations (up two and over one, down two and over one, left two and up or down one, and right two and up or down one) are activated.
"2015 Sinquefield Cup - Ultimate Moves"
Gahh! That was so annoying!
by PhantomCapablanca a few minutes ago
Moderator dictatorship just gets more incredible and frustrating!!!
by ahmetacar22 a few minutes ago
Survive of any chess piece
by PhantomCapablanca 2 minutes ago
What's Your Chess Personality?
by miggy2 3 minutes ago
by FMCouch 4 minutes ago
Laughter after chess game
by PhantomCapablanca 7 minutes ago
HGMuller - Would like your help
by BattleChessGN18 11 minutes ago
Any Videos/Tutorials of Awesome Players Beating Very Bad Ones?
by defenserulz 13 minutes ago
Which is better, Bishop or Knight?
by alex-rodriguez 14 minutes ago
An Extremely Difficult Puzzle
by 456daniel789 18 minutes ago
Why Join | Chess Topics |
Help & Support |
© 2015 Chess.com
• Chess - English
We are working hard to make Chess.com available in over 70 languages. Check back over the year as we develop the technology to add more, and we will try our best to notify you when your language is ready for translating!