You are Black: tap a piece, then a square, or type rank and file

Experiments

Hats off

To the Sinclair ZX81 (1981): a Z80A, 1 KB of RAM and an 8 KB ROM in a little black wedge, and to David Horne, who fitted chess into it. 1982 Chess Lab is an HTML emulator of that world. The CPU, memory map and display file are original JavaScript; no Sinclair ROM is used.

What is real

What is a stand-in

1981 vs 2026

Found in Part 3

The 18 OCR corrections

    Found by running Part 2

    Found by running Part 1

    Credits & licences

    Chess in 1K machine code
    © David Horne 1982–83. Published in Your Computer, December 1982 (part 1, the board, pp. 68–69) January 1983 (part 2, move logic, pp. 81 and 83) and February 1983 (part 3, the complete game, pp. 100–102). The code shown and run here is his work, reproduced for non-commercial study and commentary. They are not covered by this page's licence.
    Part 3 transcription
    Part 3 was rebuilt from Ian Collier's scan and OCR transcription of the February 1983 article (users.ox.ac.uk/~uzdm0006/scans/1kchess), cross-checked against the page images and repaired byte by byte.
    Magazine
    The desk shows Your Computer, December 1982, pages 68–69, © IPC Business Press Ltd 1982, as a historical illustration. Scanned issues are available at the Internet Archive.
    Trademarks
    Sinclair and ZX81 are trademarks of their owner, now Sky. 1982 Chess Lab is an independent hobby project, not affiliated with or endorsed by Sky, Sinclair Research or Amstrad. No Sinclair ROM code is included: the ROM routines used are original JavaScript stand-ins.
    three.js
    3D rendering by three.js r170, © 2010–2024 three.js authors, MIT License.
    Full three.js licence
    The MIT License
    
    Copyright © 2010-2024 three.js authors
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
    1982 Chess Lab
    Emulator, ROM stand-ins, 3D scene and page © 2026 Patrick J. Hough, released under the MIT License. That licence covers this original code only, not the items above.