Description Usage Value Author(s)
View source: R/create_empty_board.R
A chess board is represented as a 12 by 64 binary matrix. Each row represents a piece type with a color. There are 6 piece types, so to represent whites and blacks, we use 12 rows. Each row has 64 columns, so that every slot in the 8 by 8 chessboard is represented.
1 |
A 12 by 64 numeric matrix filled with zeros.
Eduardo Kapp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.