Coder creates smallest chess game for computers
A French coder has developed what is thought to be the smallest-sized chess computer program.
That makes it smaller than 1K ZX Chess - a Sinclair ZX81 computer game, which contained 672 bytes of code and had held the record for 33 years.
The new title's creator told the BBC that the challenge had seemed impossible at first.
Olivier Poudade added that he hoped his achievement would now inspire other programmers to get involved in the "sizecoding" scene.
"[It] demonstrates why assembly language is still the language of choice to excel [at] in programming," he said.
"[And it] reminds others that optimising in computer programming is not only about speed, but also about size."
He said that he had also wanted to pay tribute to the craft of David Horne - 1K ZX Chess' creator - as well as other unsung heroes of the 1980's English and Russian ZX81 and ZX Spectrum coding community.
The ZX81 only had 1K - or 1,024 bytes - of RAM memory, limiting what it could do.
Today's computers typically ship with chips that can store millions of times that amount.
For comparison's sake, even a couple of image-less tweets take up roughly the same amount of data as Mr Poudade's complete program.
To achieve his goal, Mr Poudade - a member of the Red Sector Inc coding group - had to make the look of his game even more basic than its 1982 predecessor.
The board and pieces of BootChess are represented by text alone, with P representing pawns, Q used for the queens and full stops put in the place of empty squares.
However, Mr Poudade noted that 1K ZX Chess shared the same limitation, and highlighted that his program allowed pawns to be turned into queens when they reached the opponent's side of the board, something that was not possible in Mr Horne's game.