Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Chess

Guides

  • Chess

Symbols

  • Chessboard
  • ChessboardQ
  • ChessboardRecognize
  • ChessGame
  • ChessGameQ
  • ChessPlayer
  • ChessViewer
  • EngineEvaluate
  • Engine
  • QuitEngine
  • RandomChessboard
  • RandomChessGame
  • StartEngine

Formats

  • FEN
  • PGN
Wolfram`Chess`
RandomChessboard
​
RandomChessboard
[]
returns a
Chessboard
after a random number of moves made from the initial position.
​
​
RandomChessboard[n]
returns a
Chessboard
after
n
random moves made from the initial position.
​
​
RandomChessboard
[n,fen]
returns a
Chessboard
after
n
random moves made from the position described by
fen
.
​
Details and Options

Examples  
(2)
Basic Examples  
(1)
In[1]:=
RandomChessboard
[]
Out[1]=
Chessboard
Active player: White
Material balance:
-6

In[2]:=
RandomChessboard
[3]
Out[2]=
Chessboard
Active player: Black
Material balance:
+0

In[3]:=
RandomChessboard
[5,"8/8/1KP5/3r4/8/8/8/k7 w - - 0 1"]
Out[3]=
Chessboard
Active player: Black
Material balance:
-4

Scope  
(1)

SeeAlso
Chessboard
RelatedGuides
▪
Chess
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com