chessboardjs: Plot a chessboard via chessboardjs

Description Usage Arguments Value Examples

View source: R/chessboardjs.R

Description

Function to show the fen string in a chessboard widget.

Usage

1
2
  chessboardjs(fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
  width = 300, height = 300)

Arguments

fen

Fen notation of a chessboard

width

Width in pixels

height

Height in pixels

Value

The chessboardjs board

Examples

1

Example output



rchess documentation built on May 2, 2019, 7:25 a.m.