Difference between revisions of "Chess"

From NixOS Wiki
Jump to: navigation, search
(tui engine)
(Add ChessX)
Line 18: Line 18:
 
}
 
}
 
</syntaxHighlight>
 
</syntaxHighlight>
 +
 +
[https://chessx.sourceforge.io/ ChessX] is installable via <code>chessx</code>.
  
 
=== Terminal based ===
 
=== Terminal based ===
  
 
[https://thomas-mauran.github.io/chess-tui/docs/Installation/NixOS Chess TUI] is installable via <code>chess-tui</code>. Playing against a bot requires [https://thomas-mauran.github.io/chess-tui/docs/Configuration/engine a chess engine] such as Stockfish. The engine [https://thomas-mauran.github.io/chess-tui/docs/Configuration/configuration-intro can be configured] or specifed with the <code>-e</code> option.
 
[https://thomas-mauran.github.io/chess-tui/docs/Installation/NixOS Chess TUI] is installable via <code>chess-tui</code>. Playing against a bot requires [https://thomas-mauran.github.io/chess-tui/docs/Configuration/engine a chess engine] such as Stockfish. The engine [https://thomas-mauran.github.io/chess-tui/docs/Configuration/configuration-intro can be configured] or specifed with the <code>-e</code> option.

Revision as of 23:00, 7 August 2025

Playing Chess on NixOS

GUI based

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

For GNOME Chess, if you want to play against the computer, you need to install a chess engine in addition. According to the application developer, this can be GNU Chess or Stockfish, but the engines will always win, ruthlessly, which may be disturbing (see gnome-chess#94).

{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    gnome-chess
    gnuchess
    stockfish
  ];
}

ChessX is installable via chessx.

Terminal based

Chess TUI is installable via chess-tui. Playing against a bot requires a chess engine such as Stockfish. The engine can be configured or specifed with the -e option.