Changes

Jump to: navigation, search

Pieces

923 bytes added, 12:38, 29 June 2021
no edit summary
There are six types of pieces for each side, in total twelve different men. Since only one piece may occupy one [[Squares|square]] at a time, one usually expands the range of piece codes with the Nil-Piece aka empty square, often encoded as zero. Depending on the [[Board Representation|board representation]], some programmers introduce an artificial blocking piece, which surrounds the embedded [[8x8 Board|8x8 boards]] inside a [[10x12 Board|10x12 board]] for cheaper off the board tests in offset [[Move Generation|move generation]].
For cheaper extraction, most programmers prefer distinct coding of piece-types and the color of piece. Quite common is to use three bits to encode the piece-type plus one bit or [[General Setwise Operations#TheTwosComplement|Two's Complement]] (not recommend for languages with zero based array indices, like [[C]], [[Cpp|C++]] or [[Java]]) for the color.
Other programs distinguish not only piece-type and color, but enumerate all 32 pieces from their [[Initial Position|initial position]], which label or code does not change during the course of a game (even after a possible [[Promotions|promotion]] of a pawn) and might be one-to-one associated with the bit-position of a 32-bit [[Piece-Sets|piece set]], and/or are used to index a [[Piece-Lists|piece list]] containing the current [[Squares|square]] the piece resides on.
</pre>
==<span id="Unicode"></span>Unicode==
* [https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode Chess symbols] in [https://en.wikipedia.org/wiki/Unicode Unicode] <ref>, see also the [[https://en.wikipedia.org/wiki/2D Graphics Board#Unicode |UnicodeBoard] representations of [https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode Chess symbols] in two [https://en.wikipedia.org/wiki/Font fonts]  {| class="wikitable"|-! Name !! Symbol !! Code point !! HTML (dec) !! HTML ([httpshex)|-| White King || <span style="font-size:150%">♔</span> ||U+2654 || &amp;#9812; || &amp;#x2654;|-| White Queen || <span style="font-size: 150%">♕</en.wikipedia.orgspan> ||U+2655 || &amp;#9813; || &amp;#x2655;|-| White Rook || <span style="font-size: 150%">♖</wikispan> ||U+2656 || &amp;#9814; || &amp;#x2656;|-| White Bishop || <span style="font-size: 150%">♗</Arial_Unicode_MS Arial Unicode MS] and [httpsspan> ||U+2657 || &amp;#9815; || &amp;#x2657;|-| White Knight || <span style="font-size:150%">♘</span> ||U+2658 || &amp;#9816; || &amp;#x2658;|-| White Pawn || <span style="font-size: 150%">♙</en.wikipedia.orgspan> ||U+2659 || &amp;#9817; || &amp;#x2659;|-| Black King || <span style="font-size: 150%">♚</wiki/Tahoma_span> ||U+265A || &amp;#9818; || &amp;#x265A;|-| Black Queen || <span style="font-size: 150%28typeface%29 Tahoma]) by [https:">♛<//en.wikipedia.org/wiki/User:Monedula Monedula], span> ||U+265B || &amp;#9819; || &amp;#x265B;|-| Black Rook [https|| <span style="font-size:150%">♜<//en.wikipedia.org/wiki/Wikimedia_Commons Wikimedia Commons]span> ||U+265C || &amp;#9820; || &amp;#x265C;|-| Black Bishop || <span style="font-size: 150%">♝</refspan>:||U+265D || &amp;#9821; || &amp;#x265D;|-| Black Knight || <span style="font-size: [[FILE:Chess symbols.PNG150%">♞</span> ||U+265E || &amp;#9822; |none|border&amp;#x265E;|text-bottom|linkBlack Pawn || <span style=https"font-size:150%">♟︎<//en.wikipedia.org/wiki/Chess_symbols_in_Unicode]]span> ||U+265F || &amp;#9823; || &amp;#x265F;|}
=See also=
* [http://www.fide.com/fide/handbook?id=16&view=category Standards of Chess Equipment and tournament venue for FIDE Tournaments]
* <span id="Pickup"></span>[https://en.wikipedia.org/wiki/The_Phil_Collins_Big_Band Phil Collins Big Band] - [https://en.wikipedia.org/wiki/Pick_Up_the_Pieces_(Average_White_Band_song) Pick up the pieces], [https://en.wikipedia.org/wiki/Montreux_Jazz_Festival Montreux Jazz Festival], [https://en.wikipedia.org/wiki/List_of_performers_at_the_Montreux_Jazz_Festival#1998 1998], [https://en.wikipedia.org/wiki/YouTube YouTube] Video
: feat.: [[:Category:Phil Collins|Phil Collins]], [https://en.wikipedia.org/wiki/Gerald_Albright Gerald Albrigth], [https://en.wikipedia.org/wiki/Sadao_Watanabe_(musician) Sadao Watanabe], [[:Category:Klaus Doldinger|Klaus Doldinger]], [https://en.wikipedia.org/wiki/Alfred_%22Pee_Wee%22_Ellis Pee Wee Ellis], [[:Category:George Duke|George Duke]], [https://en.wikipedia.org/wiki/James_Carter_(musician) James Carter], arranged and conducted by [https://en.wikipedia.org/wiki/Arif_Mardin Arif Mardin]
: {{#evu:https://www.youtube.com/watch?v=R9eQkTJZlNk|alignment=left|valignment=top}}

Navigation menu