Known to be over 1,200 years old, chess remains a key test of strategy, mental ability, computational power and is generally a good way of passing the time. If you can represent an eight by eight grid with suitable symbols for the pieces then you can have a game of chess. So why not play chess in your terminal?
While we wait for Jonni to write something far more engaging and informative on how to have fun with chess and open source, we’ll have to make do with the slim pickings we can squeeze into these two pages. Partly this was all kicked off by stumbling across a dreadfully written bespoke open source chess game, which had some ginormous fixed-state machine built from an unfathomable number of nested if statements. So, stuff that for a party.
As Jonni will go into far more depth than space allows here when he gets around to writing his legendary chess feature, there’s no need to reinvent the chess-shaped wheel. There are a host of accomplished open source chess engines which any front-end that feels the need can plug into. The most common is one called Stockfish often described as “the strongest conventional chess engine in the world” and who are we to argue?
Install the chess engine
The first thing you’ll want to do is install Stockfish. The version in the repository will be fine, and in these Ubuntu 20.04 days that would be the current v11-1 release. A sudo apt install stockfish will do the trick.
Esta historia es de la edición July 2020 de Linux Format.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor ? Conectar
Esta historia es de la edición July 2020 de Linux Format.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor? Conectar
Create your first WebSocket service
Mihalis Tsoukalos explains how to use the Go programming language to work with the WebSocket protocol.
Fantastic Mr Firefox
Nick Peers takes a trip down memory lane to reveal the story behind the rise - and slight fall - of Mozilla's popular web browser.
Set up your terminal and email like it's 1983
Jump in the hot terminal time machine with Mats Tage Axelsson who emails from the command line using the latest technology.
Universal layer text effects with GIMP
Posters use them, films and presentations are hard to imagine without them: text effects. Attract attention with Karsten Günther and GIMP.
Jump to a federated social network
Nick Peers reveals how you can get up and running with this free, decentralised and non-profit alternative to Twitter.
Free our SOFTWARE!
Taking anything for granted is dangerous, so Jonni Bidwell and Mike Saunders revisit how the free software movement got started to help free us from proprietary tyranny!
Master RPI.GPIO
Les Pounder goes back to the early days of the Raspberry Pi - and his career with this classic library! -
Waveshare Zero to Pi3
Transform your Pi Zero into a Pi 3, they promised Les Pounder, but it's more like adding on go-faster stripes.
The Best OPEN SOURCE Software Ever!
In an attempt to trigger controversy, Michael Reed and Neil Mohr unequivocally state these are the greatest free software apps ever. Probably. We’re just trying to be helpful.
Linux-Mandrake 7
Simplicity and a wide range of applications make this a great distribution for all Linux users.