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

jbkunst/rchess documentation built on Oct. 25, 2018, 5:31 p.m.