Difference between revisions of "Chess"

From NixOS Wiki
Jump to: navigation, search
(Dedicated section for engines)
(Add more CLI chess apps)
Line 30: Line 30:
  
 
[https://thomas-mauran.github.io/chess-tui/docs/Installation/NixOS Chess TUI] is installable via <code>chess-tui</code>. Use <code>-e</code> to select an [https://thomas-mauran.github.io/chess-tui/docs/Configuration/engine engine] or use the [https://thomas-mauran.github.io/chess-tui/docs/Configuration/configuration-intro configuration file].
 
[https://thomas-mauran.github.io/chess-tui/docs/Installation/NixOS Chess TUI] is installable via <code>chess-tui</code>. Use <code>-e</code> to select an [https://thomas-mauran.github.io/chess-tui/docs/Configuration/engine engine] or use the [https://thomas-mauran.github.io/chess-tui/docs/Configuration/configuration-intro configuration file].
 +
 +
[https://github.com/maaslalani/gambit Gambit] is installable via <code>gambit-chess</code>.
 +
 +
[https://tmountain.github.io/uchess/ uchess] is installable via <code>uchess</code>. Works with UCI chess engines.

Revision as of 15:22, 11 September 2025

Playing Chess on NixOS

Engines

For most chess applications, if you want to play against the computer, you need to install one or more chess engines in addition. Some applications will automatically detect the engines (e.g GNOME Chess) others will need them configured via the user interface (application settings). Note that some engines are impossible to win against (e.g. gnuchess) while others will make your game a bit more fun.

{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    gnuchess
    scid-vs-pc # Phalanx and Fruit
    stockfish
  ];
}

GUI based

ChessX is installable via chessx.

Cute Chess is installable via cutechess.

GNOME Chess is installable via gnome-chess.

Lucas Chess is not packaged for NixOS yet (see nixpkgs#303420).

Terminal based

Chess TUI is installable via chess-tui. Use -e to select an engine or use the configuration file.

Gambit is installable via gambit-chess.

uchess is installable via uchess. Works with UCI chess engines.