create_empty_board: Define Empty Board

Description Usage Value Author(s)

View source: R/create_empty_board.R

Description

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.

Usage

1

Value

A 12 by 64 numeric matrix filled with zeros.

Author(s)

Eduardo Kapp


eduardokapp/chessR documentation built on Dec. 20, 2021, 3:20 a.m.