Readit News logoReadit News
userbinator · 2 years ago
"created with JavaScript, HTML5, CSS3" but no web version for those who already have a browser and don't want to download yet another one?
velcrovan · 2 years ago
My 7yo son has been interested in boolean logic. I thought surely something like this exists where I can show him how you can chain gates to build larger systems. Couldn't find one! Will have to download this tonight.
vintermann · 2 years ago
I think Digital Circuit Board on Steam is pretty nice. It's a pure sandbox, not a game, so you need an idea of what you want to build but if you do, it's nice and fast (circuits are, as I understand it, compiled).

It also comes with a memory and screen abstraction, which can increase performance further over hand-rolled memory and screens once you want that.

It doesn't have any encapsulation, though, which is odd since it compiles things anyway.

indigo945 · 2 years ago
Logisim is a nice FOSS software in this space as well. I've designed a CPU in it during COVID, which then became a never-finished breadboard project that stilll looks at me accusingly from some corner of my living room. Oh well.

In addition to boolean logic, Logisim also includes more advanced components such as static RAM, as well as interesting things to drive with it, such as displays. It was developed for use in schools and is therefore designed to be easy to work (or rather play) with.

The project itself has been dead since 2011 or so, but there is an actively maintained fork [1].

[1]: https://github.com/logisim-evolution/logisim-evolution

userbinator · 2 years ago
Logisim and TKGate are two somewhat well-known logic simulators that have been around for a long time.
qiqitori · 2 years ago
Here's a well-known one that is actually a full-blown circuit simulator:

https://www.falstad.com/circuit/circuitjs.html

If you go to e.g. Circuits -> Combinatorial Logic -> Full adder, you can see that digital logic is available too. (Uses a lot of CPU, so maybe reduce simulation speed and current speed. You don't need those for digital stuff.)

Maybe it doesn't look flashy enough for kids though :p

postlogic · 2 years ago
There's a game on Steam called Turing Complete that teaches logic circuits from basics and up: https://store.steampowered.com/app/1444480/Turing_Complete/
ithkuil · 2 years ago
piebro · 2 years ago
An other one that looks nice with some cool features from Sebastian Lague is here: https://sebastian.itch.io/digital-logic-sim
nikolay · 2 years ago
This reminds me of what I've done back in 1989 in Russia where I was on an international programming camp [0], which still exists today. I won, I believe, the second place. It was written in TPW (Turbo Pascal for Windows), of course!

[0]: https://icccamp.ru/

dang · 2 years ago
Related:

Show HN: BOOLR – A digital logic simulator - https://news.ycombinator.com/item?id=15489535 - Oct 2017 (21 comments)

Show HN: BOOLR, a digital logic simulator - https://news.ycombinator.com/item?id=14335023 - May 2017 (11 comments)

LordShredda · 2 years ago
You'd be surprised at how few simple yet decent logic simulators exist online. Are there plans for a web versions maybe?
Zircom · 2 years ago
It says it runs in Electron so should be pretty trivial to port it to the web no?
danaugrs · 2 years ago
This is awesome! It looks like a fantastic way to play with boolean logic and learn/teach how computers work. I love the ability to encapsulate circuits and abstract them into higher level components.