Difference between revisions of "Chinese Chess Board Representation"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with "'''Home * Games * Chinese Chess * Board Representation''' FILE:XiangqiBoardInChinesGardenRUB.jpg|border|right|thumb|Xiangqi board <ref>Xiangqi board i...")
 
(Rewrite)
Line 3: Line 3:
 
[[FILE:XiangqiBoardInChinesGardenRUB.jpg|border|right|thumb|Xiangqi board <ref>Xiangqi board in the [https://commons.wikimedia.org/wiki/Category:Chinese_Garden_Bochum Chinese Garden] [http://aktuell.ruhr-uni-bochum.de/meldung/2016/01/meld03138.html.de Qian Yuan] of the [https://en.wikipedia.org/wiki/Botanical_Garden_of_Ruhr_University_Bochum Botanical Garden] of [https://en.wikipedia.org/wiki/Ruhr_University_Bochum Ruhr University Bochum], Image by [[Gerd Isenberg]], July 07, 2016</ref> <ref>[http://www.dcva.de/bucher/%E7%94%BB%E8%B0%88%E6%BD%9C%E5%9B%AD-qian-yuan-chinesische-gartenkunst-in-bildern-und-texten/ueber-den-autor/ Zhang Zhenshan] ('''2015'''). ''[https://omp.ub.rub.de/index.php/rub/catalog/book/58 Qian Yuan - Chinesische Gartenkunst in Bochum]''. DOI:10.13154/RUB.58.61</ref> ]]  
 
[[FILE:XiangqiBoardInChinesGardenRUB.jpg|border|right|thumb|Xiangqi board <ref>Xiangqi board in the [https://commons.wikimedia.org/wiki/Category:Chinese_Garden_Bochum Chinese Garden] [http://aktuell.ruhr-uni-bochum.de/meldung/2016/01/meld03138.html.de Qian Yuan] of the [https://en.wikipedia.org/wiki/Botanical_Garden_of_Ruhr_University_Bochum Botanical Garden] of [https://en.wikipedia.org/wiki/Ruhr_University_Bochum Ruhr University Bochum], Image by [[Gerd Isenberg]], July 07, 2016</ref> <ref>[http://www.dcva.de/bucher/%E7%94%BB%E8%B0%88%E6%BD%9C%E5%9B%AD-qian-yuan-chinesische-gartenkunst-in-bildern-und-texten/ueber-den-autor/ Zhang Zhenshan] ('''2015'''). ''[https://omp.ub.rub.de/index.php/rub/catalog/book/58 Qian Yuan - Chinesische Gartenkunst in Bochum]''. DOI:10.13154/RUB.58.61</ref> ]]  
  
The [[Chinese Chess]] (Xiangqi) board is a grid of 10 horizontal lines ([[Ranks|ranks]]) and 9 vertical lines [[Files|(files]]). The pieces are placed on the intersections. We can represent it with a sequence of 12x10=110 integers
+
The [[Chinese Chess]] (Xiangqi) board is a grid of 10 horizontal lines ([[Ranks|ranks]]) and 9 vertical lines [[Files|(files]]) with total of 90 points or cells. The board can use almost all board representations of chess such as Piece Centric, Square Centric (except 0x88) and Hybrid Solutions.
a[0], a[1], ... , [119].
 
 
The actual board is represented by the entries
 
a[11] - a[19],...., a[101] - a[109].
 
 
 
The entries
 
a[0], a[10], a[20],... and a[110]-a[119]
 
represent the edge of the board and are set the value -1.  
 
  
 
=See also=  
 
=See also=  

Revision as of 00:35, 2 September 2019

Home * Games * Chinese Chess * Board Representation

Xiangqi board [1] [2]

The Chinese Chess (Xiangqi) board is a grid of 10 horizontal lines (ranks) and 9 vertical lines (files) with total of 90 points or cells. The board can use almost all board representations of chess such as Piece Centric, Square Centric (except 0x88) and Hybrid Solutions.

See also

References

  1. Xiangqi board in the Chinese Garden Qian Yuan of the Botanical Garden of Ruhr University Bochum, Image by Gerd Isenberg, July 07, 2016
  2. Zhang Zhenshan (2015). Qian Yuan - Chinesische Gartenkunst in Bochum. DOI:10.13154/RUB.58.61

Up one Level