Chess: Difference between revisions

From miki
Jump to navigation Jump to search
Line 77: Line 77:
</source>
</source>
Stockfish will reply with the best move for black (<code>Nc6</code>) and best counter play for white (<code>d4</code>).
Stockfish will reply with the best move for black (<code>Nc6</code>) and best counter play for white (<code>d4</code>).

== Tools ==
=== [https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/ pgn-extract] ===
A tool to convert a game in PGN format into any other format.
* Convert SAN to LAN for analysis by UCI engine (like StockFish).
* ELO evaluation.

=== [http://python-chess.readthedocs.io/ Python-chess] ===
* Parse and traverse PGN trees.


== History ==
== History ==

Revision as of 17:03, 2 January 2018

References

Engines

  • StockFish
Free and open-source engine. Currently one of the best engine (top 3) on TCEC.

General

Play

Any platforms
Android
Play in PRO mode (no undo). Excellent for beginner, each level gives an average of computer strength. Sometimes computer makes "mistake" moves a bit like beginner human would do.
  • DroidFish
Powered by StockFish engine.
  • Lichess
Play against the machine (StockFish) or online.
  • Shredder Chess
Play against the machine (but very slow in timed game, even in low levels).
Windows
Linux

Analyze

Tips

  • Use engine that displays several thinking lines at once. This way you get not only the best move, but also a list of possibly equally good moves.
  • Use engine that displays 2-depth best move. Sometimes this helps to better understand why a given move is good.

General game

Online
Excellent. Very fast. Easy to browse, play variation, etc. Also local computer analysis.
Enter a position and ask to get the next best move. Based on GNU Chess and Stockfish engines.
Android
Powerful and easy to use chess engine, with clear analysis. Show 2-depth moves with green/red arrows.
Awesome game analyzer, with indication of blunders, bad moves. Analysis takes quite some time though.

Endgame

Online
Easy to use endgame database (6 men or less).
Very powerful analysis board, including complete endgame database. Position are encoded in the URL (e.g. https://en.lichess.org/analysis/8/8/5k2/8/8/2P5/3K4/8_w_-_-)
Android
Probably the best endgame browser out there. Perfect endgame analysis, up to 7 men. Offline DB for 3 men, more require network access. Pieces can be moved around, and the score for all possible positions on the board are shown on the board itself, which is very useful to analyze alternate positions.

Using Stockfish

Use stockfish from the command line [1]:

stockfish
position startpos moves e2e4
go depth 10
...
bestmove b8c6 ponder d2d4

Stockfish will reply with the best move for black (Nc6) and best counter play for white (d4).

Tools

pgn-extract

A tool to convert a game in PGN format into any other format.

  • Convert SAN to LAN for analysis by UCI engine (like StockFish).
  • ELO evaluation.

Python-chess

  • Parse and traverse PGN trees.

History

Theory

Problems

Publishing

Looking for tools for chess game or diagram publishing.

Reference
See also Portable Game Notation on wikipedia.

PgnJS

PgnJS is a mediawiki extension that provides a <pgn> tag and uses PgnViewerJS to display.

PgnViewerJS

PgnViewerJS is a simple JavaScript implementation to show PGN files (Portable Game Notation == Chess) in a web page.

  • Best plugin out there?
  • At least the most good looking and suited for a wiki.

pgn4web

  • Provide a tool to generate HTML page.
  • Also exist as a javascript plugin to convert PGN games. See for instance joomla integration.
  • There is a mediawiki extension!
  • More integration available (link missing).

PGN-Viewer

Another javascript-based pgn viewer, from ChessTempo.

Annotation and evaluation

Lichess provides an excellent online analysis tool. Moves can be labelled as Inaccuracy, Mistake or Blunder [2] [3] as follow, in a balanced game:

  • Inaccuracy: loss of 50 centipawns.
  • Mistake: loss of 100 centipawns (a pawn).
  • Blunder: loss of 300 centipawns (a minor piece)

If the game is greatly unbalanced, the evaluation is different:

  • Inaccuracy: if mate is delayed, or mate lost but still with an advantage of more than 999 centipawns, or mate created (for opponent) from an advantage of less than -999 centipawns.
  • Mistake: if mate lost but still with an advantage of more than 700 centipawns, or mate created (for opponent) from an advantage of less than -700 centipawns.

On Chess.com, this is a bit different:

  • Inaccuracy is a loss of at least 0.3 point (30 centipawns).
  • Mistake is a loss of at least 0.9 point.
  • Blunder is a loss of at least 2 points.

Learn

Learn Chess

Tips & Pits

  • (Frequent mistake) In start position, b2 and g2 are only protected resp. by Bc1 and Bf1 → move these Bishops only if these pawns are not threatened / protected by other pieces!