Logic Gate Simulator
academo.org
academo.org
I learned this stuff around 10 playing that game and didn't even realize what I was learning cause it was fun.
But it definitely worked.. I aced every class I ever took that required logic right through college with ease. Both hardware courses, CS courses, and a philosophy course.
edit:
Here it is!
https://www.myabandonware.com/game/rockys-boots-cp
I may very well sit my child down in front of this next time he says he's bored with the typical kids coding things.
It is the same game, but at least for me the C-64 version is running about 1/100th normal speed in Chrome so that doesn't work either.
The PC version just has an issue with the shift keys not working, which breaks the game as shift is used for fine movements.
Like you, I had no idea what I was learning when I played it as a kid, but logic has always felt natural since as long as I can remember. Which apparently is a timespan that may have started with this game.
For these sorts of things I tend to go to the circuit simulator[0].
Also, for a game that teaches about this stuff while still being incredibly fun, I highly recommend Turing Complete[1].
[0] http://www.falstad.com/circuit/circuitjs.html
[1] https://store.steampowered.com/app/1444480/Turing_Complete/
[1] https://www.youtube.com/watch?v=QZwneRb-zqA (2 years ago), and more recently: https://www.youtube.com/watch?v=hEDQpqhY2MA and https://www.youtube.com/watch?v=_3cNcmli6xQ
Perhaps its descendant is Digital?
It has support for switches like FETs and relays, and you can implement open collector logic with pull-up resistors.
It can analyze and reduce combinatorial logic. It can generate Verilog and VHDL output from a diagram. And, IMO best of all, you can implement individual components in Verilog/VHDL and plop them as graphical elements in your circuit; when you simulate, it will fire up iverilog or ghdl in the background and communicate with them transparently.
It's fast too; one of the demo circuits is a complete processor and it simulates it at around 300 kHz on my machine.
- Deep Differentiable Logic Gate Networks (https://arxiv.org/pdf/2210.08277.pdf)
- Video presentation: Deep Differentiable Logic Gate Networks (https://www.youtube.com/watch?v=VulM891DhI4)
Missing 3,4,..N input gates, XNOR.
The next level would need sequential logic (FF's) and friends likes muxes.
After that, crossbars and tri-state buffers.
Get fancy with buffers, clocks, and visualizing propagation delay, setup and hold times.