Uploaded June 2023 | Updated September 2026, 2 weeks ago
Trying to improve an old chess bot by experimenting with various interesting techniques.
This is a sequel to: youtu.be/U4ogK0MIzqk
Support my work (and get early access to new videos and source code) on Patreon or Nebula
* Patreon: patreon.com/SebastianLague
* Nebula: go.nebula.tv/sebastianlague
Source code:
* GitHub: github.com/SebLague/Chess-Coding-Adventure
Credits and references
* A really fun video about various algorithms for playing chess by @tom7: youtube.com/watch?v=DpXy041BIlA
* Music and images: github.com/SebLague/Misc-Project-Info/blob/main/Coding-Adventures/Chess-2.txt
Chapters:
00:00 Intro
00:38 Battle of the Bots
03:18 Maybe Don’t Throw Away the Best Move?
07:13 Transposition Troubles
10:55 Search Extensions
14:01 Refactoring and Recapping
15:51 Tweaking Kings and Pawns
19:35 Bitboards!
23:54 Passed Pawns (and more)
28:32 Magic Bitboards (minus the magic)
34:40 The Magical Part of Magic Bitboards
39:00 Testing and Optimizing Move Generation
41:50 Killers, Reductions, and Repetitions
45:56 Creating a Lichess Bot
49:30 Let’s Play!
54:54 Existential Crisis
55:02 The Bot’s First Game Online
56:12 Can Our Bot Beat Stockfish? (No)
56:59 Rating Speculation
59:28 Outro
Trying to improve an old chess bot by experimenting with various interesting techniques.
This is a sequel to: youtu.be/U4ogK0MIzqk
Support my work (and get early access to new videos and source code) on Patreon or Nebula
* Patreon: patreon.com/SebastianLague
* Nebula: go.nebula.tv/sebastianlague
Source code:
* GitHub: github.com/SebLague/Chess-Coding-Adventure
Credits and references
* A really fun video about various algorithms for playing chess by @tom7: youtube.com/watch?v=DpXy041BIlA
* Music and images: github.com/SebLague/Misc-Project-Info/blob/main/Coding-Adventures/Chess-2.txt
Chapters:
00:00 Intro
00:38 Battle of the Bots
03:18 Maybe Don’t Throw Away the Best Move?
07:13 Transposition Troubles
10:55 Search Extensions
14:01 Refactoring and Recapping
15:51 Tweaking Kings and Pawns
19:35 Bitboards!
23:54 Passed Pawns (and more)
28:32 Magic Bitboards (minus the magic)
34:40 The Magical Part of Magic Bitboards
39:00 Testing and Optimizing Move Generation
41:50 Killers, Reductions, and Repetitions
45:56 Creating a Lichess Bot
49:30 Let’s Play!
54:54 Existential Crisis
55:02 The Bot’s First Game Online
56:12 Can Our Bot Beat Stockfish? (No)
56:59 Rating Speculation
59:28 Outro
![RPG graphics E01: Character model [Blender]
In this episode we model a low poly character in Blender, to be used in the RPG series.
See Brackeys channel for the programming half of this series: https://www.youtube.com/user/Brackeys
Download reference images here:
https://www.dropbox.com/s/q12ji6k6bf3fa8a/Player%20reference%20images.zip?dl=1
List of keyboard shortcuts used in this video + some extras:
https://github.com/SebLague/Blender-Shortcuts/blob/master/README.md
Download end-of-video model here:
https://www.dropbox.com/s/828rpnxs0oc0u70/Player%20model.zip?dl=1
RPG gameplay programming playlist:
https://www.youtube.com/playlist?list=PLPV2KyIb3jR4KLGCCAciWQ5qHudKtYeP7
Support the creation of more gamedev tutorials:
https://www.patreon.com/SebastianLague RPG graphics E01: Character model [Blender]](https://i.ytimg.com/vi/aAO4C_8y0w8/mqdefault.jpg)









