ArticleslgStudy

computer science

XBoard

XBoard is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand XBoard rather than just read about it. In short: XBoard is a graphical user interface chessboard for chess engines under the X Window System. It is developed and maintained as free software by the GNU project.

XBoard — main illustration
XBoard — illustration

Key takeaways

  • XBoard belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect XBoard to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of XBoard from memory before moving on to harder problems.

Reference excerpt

XBoard is a graphical user interface chessboard for chess engines under the X Window System. It is developed and maintained as free software by the GNU project. WinBoard is a port of XBoard to run natively on Microsoft Windows.

Overview Originally developed by Tim Mann as a front end for the GNU Chess engine, XBoard eventually came to be described as a graphical user interface for XBoard engines. It also acts as a client for Internet Chess Servers, and e-mail chess, and can allow the user to play through saved games. XBoard/WinBoard remain updated, and the Chess Engine Communication Protocol has been extended to meet the needs of modern engines (which have features such as hash tables, multi-processing and end-game tables, which could not be controlled through the old protocol). XBoard/WinBoard also fully support engines that play chess variants, such as Fairy-Max. This means the GUI is able to display a wide range of variants such as xiangqi (Chinese chess), shogi (Japanese chess), makruk (Thai chess), Crazyhouse, Capablanca Chess and many other Western variants on boards of various sizes. It offers a Westernized representation for these games, but the almost limitless configurability of XBoard/WinBoard also allows a high-quality representation of non-Western style games.

Another computer chess protocol is the Universal Chess Interface (UCI). XBoard/WinBoard supports this protocol (and its dialects USI and UCCI, which are in common use for shogi and Chinese chess) through adapter programs such as Polyglot and UCI2WB. Since 2014 there exists a special version of XBoard that better integrates with Apple's OS X. It is distributed from WinBoard forum as an OS X App, including several engines (for chess and many chess variants), and adapters for running engines in non-natively supported protocols. It also contains supporting software for connecting with the popular Internet Chess Servers FICS and ICC for on-line play. XBoard OS X Apps that specifically configure XBoard for oriental-style shogi or xiangqi are also available. WinBoard is a version of XBoard adapted to MS Windows, and is available in a similar package.

Fairy-Max

Fairy-Max is a free and open source chess engine which can play orthodox chess as well as chess variants. Among its features is the ability of users to define and use their own custom variant chess pieces for use in games. Fairy-Max was derived from micro-Max (also developed by H.G. Muller), one of the smallest programs to play complete FIDE chess. Therefore, Fairy-Max versioning started with version number 4.8, the version of micro-Max used.

Description The Fairy-Max module is a chess engine only, but is packaged with XBoard, which serves as the graphical user interface. Users can play against the Fairy-Max engine, or play the engine against other engines. It can also be set up to play two armies against each other, both using the Fairy-Max engine, for the purpose of analyzing chess moves, chess variants, or variant chess pieces.

Capabilities Besides classical FIDE chess, Fairy-Max is provided with a large selection of pre-defined games using fairy chess pieces, including shatranj (ancient Iranian chess), xiangqi (Chinese chess), shogi (Japanese chess), makruk (Thai chess), King of the Hill, Capablanca Chess, Courier chess, Berolina chess, Seirawan chess and other chess variants. Users are also able to specify their own board sizes, and define custom chess pieces, so that user-defined chess variants can also be played. Chessboards can be defined with a maximum size of 14 files in width, and 16 ranks in depth.

Playing strength The engine's Elo rating fluctuates at around 1900 when playing orthodox chess in CCRL 40/40 chess engine tournament, which roughly corresponds to class A human player. The author of the program has said "the goal of Fairy-Max is to make an entertaining but beatable opponent to play against in all kind of chess variants."

See also

Chess engine Computer chess ChessV (also plays chess variants) Variant chess piece Chess variants List of chess software

References

External links Official website XBoard on GNU Savannah FAQ for the use of Xboard and Winboard chess engines Listing of Xboard and Winboard chess engines

Illustrations

XBoard illustration
XBoard: Screenshot of XBoard showing a game of shogi
Screenshot of XBoard showing a game of shogi
XBoard illustration
XBoard illustration
XBoard: Game depiction showing output from the Fairy-Max chess engine
Game depiction showing output from the Fairy-Max chess engine

Worked examples

Example 1 — a first encounter with XBoard

Start with the simplest possible case. Write down what XBoard claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to XBoard before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about XBoard ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of XBoard

In research
XBoard appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses XBoard in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
XBoard is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free chess software, Free educational software, Free software programmed in C, so understanding it makes those chapters shorter.
In everyday life
Look for XBoard outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “XBoard” →

How to study XBoard in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what XBoard means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain XBoard out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is XBoard in simple terms?

XBoard is a graphical user interface chessboard for chess engines under the X Window System. It is developed and maintained as free software by the GNU project.

Why does XBoard matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study XBoard?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on XBoard.

Tags

  • Free chess software
  • Free educational software
  • Free software programmed in C
  • GNU Project software
  • Linux games
  • Shogi software
  • Software using the GNU General Public License

Keep exploring