https://blog.asrpo.com/nand2cpu

Nand to Tetris is a course that teaches you how to build a computer up from nand gates

a b nand(a, b)
– – ———-
0 0 1
0 1 1
1 0 1
1 1 0
and then program Tetris for your computer. Nand game cover the first 3 projects of the course using a nice drag-and-drop interface