print_position: Print method to show the current position as a matrix in the...

View source: R/print_position.R

print_positionR Documentation

Print method to show the current position as a matrix in the console

Description

see position_move for detailed information on how to construct positions.

Usage

print_position(pos = "startpos", style = "UCCI")

Arguments

pos

Default is the starting position, otherwise a named list of length 90.

style

one of c("international", "traditional", "UCCI")

Value

10*9 matrix depicting a xiangqi position.


D-Se/xiangqi documentation built on May 12, 2022, 6:06 a.m.