← All projects
Project record1 mention
Originally shared on Hacker News

Chess program written in Go

This program plays chess and is written in Go. Version 1 implements the playing algorithm from scratch, deliberately without looking up any existing chess programming literature, and is nearly finished with only a few bugs left to iron out.

Last shared For Personal use; built to challenge the author's 18-year-old daughter at chess.
01 / The problem

What it addresses

The author's 18-year-old daughter can beat him at chess, so he wants to write a program that can beat her instead.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Chess program written in Go

    This program plays chess and is written in Go. Version 1 implements the playing algorithm from scratch, deliberately without looking up any existing chess programming literature, and is nearly finished with only a few bugs left to iron out.

    Problem: The author's 18-year-old daughter can beat him at chess, so he wants to write a program that can beat her instead.

    Audience: Personal use; built to challenge the author's 18-year-old daughter at chess.

    Posted by @benhoyt · Original source ↗

    Source text · @benhoyt · · Source ↗

    A program that will play chess (written in Go). My 18yo daughter can now beat me at chess (not that I'm any good). I figured if I can't beat her, I'll see if I can write a program to beat her instead. My idea for v1 is that I'd write the algorithm myself, without looking up anything about how to write a chess program (I'm sure such literature abounds). I've just about finished v1; still a few bugs to iron out.