If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

Glchess chess playing application

Glchess is graphical chess playing game for Gnome desktop.

Setup

  1. Install necessary packages:

    sudo apt-get install glchess phalanx

Tweak difficulty level

Default settings for available chess engines are too strong to compete with them for average mortal beings. There are suggestions to make them easier in Ubuntu brainstorm and Ubuntu bug is registered. Though while this is not implemented, here is workaround for phalanx engine.

  1. Rename binary file to hide it from glchess:

    sudo mv /usr/games/phalanx /usr/games/phalanx.bin
  2. Create shell wrapper file for phalanx engine with weaker settings:

    sudo gedit /usr/games/phalanx
  3. Paste following code in opened editor:

    #!/bin/bash
    /usr/games/phalanx.bin -e100 -l- -b-
    and save file.
  4. Make file executable:

    sudo chmod +x /usr/games/phalanx

3D mode

  1. To allow 3D mode, install additional libraries:

    sudo apt-get install python-opengl python-gtkglext1

Play

  1. If you have several chess applications, choose Applications- Games- Chess with Pawn icon, not Knight:
    fig01.png
  2. When starting new game, choose Phalanx engine.
  3. Enjoy winning! Decrease number for -e from 100 to 1 for stronger settings and remove -l- and -b-, if necessary.

http://www.develia.org/documents.php?l=2&f=1&p=chessonlinux


  
Tags English
Created by Valdis Vītoliņš on 2013-09-08 13:49
Last modified by Valdis Vītoliņš on 2021-04-13 14:29
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License