Coding Adventure: Chess

Sebastian Lague · 4.3M views · 2021 · 29:22

Open on YouTube

Chess, board games & puzzlesAlgorithms & data structuresGame programming & enginesexplainer

Why Hacker News recommends it

HN commenters point to it as an accessible, well-paced overview of chess engine techniques, as the first part of a two-part series, and as an example of smooth code-typing visuals.

Recommended by 1 people across 1 different months, 2022 to 2026.

What it is

Sebastian Lague builds a chess-playing program from scratch in Unity, covering board representation, move generation, testing, search and evaluation, endgames, transposition tables, and opening books. The video ends with the bot playing several games, and a playable build and source code are provided.

What people said

Recommends herbstein · 2026-09 · Hacker News · on “Stockfish 19”

Depending on your feelings on being spoiled on the general techniques, and an approach to implement them, Sebastian Lague made a great two-part series on building a chess engine. It's specific enough that you have an idea of the techniques involved, without dwelling enough with the details to make implementing your own futile. [this video]

Cites emadehsan · 2022-08 · Hacker News · on “Ask HN: Tools for Code Typing Simulation?”

I'm looking for a tool that could mimic Code Typing but do it smoothly. I need it for recording tutorials but I don't want to record myself typing the code as that is not always smooth and is time consuming. Something like TypeIt[0] but with Code Highlighting. This is what I'm talking about: [this video] [0] [LINK]

Cites 05bmckay · 2023-07 · Hacker News · on “I Tried Making a Stronger Chess Engine”

Trying to improve an old chess bot by experimenting with various interesting techniques. You can play (or watch) the bot on lichess: [LINK] ... This is a sequel to: [this video]