September 14th, 2024

Show HN: I made a digital circuit drawing and simulation game

Circuit Artist is a digital circuit drawing and simulation game featuring sandbox and puzzle modes. Developed with raylib, it requires LuaJIT and is licensed under GPLv3, with community support via Discord.

Read original articleLink Icon
Show HN: I made a digital circuit drawing and simulation game

Circuit Artist is a digital circuit drawing and simulation game that allows users to create and interact with digital circuits. Players can choose between sandbox mode or puzzle-solving challenges, with circuits represented visually through images. The game utilizes pixel triangles to depict NAND gates, while black pixels serve as the background and other pixels represent wires. Developed using raylib, the game requires users to compile it within a designated build directory that can access Lua scripting resources. To run the game, users must also download and build LuaJIT locally. Circuit Artist is licensed under GPLv3, and additional information can be found in the repository's LICENSE file. The game has a presence on Steam and a Discord server for community engagement.

- Circuit Artist allows users to draw and simulate digital circuits.

- The game features sandbox and puzzle modes for varied gameplay.

- It is developed using raylib and requires LuaJIT for scripting.

- The project is licensed under GPLv3.

- Community support is available through its Discord server.

Link Icon 9 comments
By @madflame991 - 5 months
I tried the demo and I liked it!

I would prefer if I could pick a color in a faster way than switching to the color picker or using the palette: maybe middle click or Ctrl + left-click (gimp does that). It would reduce the mouse travel quite a bit; sometimes I happen to have the exact color I want next to my cursor.

I would also suggest putting the trailer on Steam. All I see is images in the steam carousel thing; I think the trailer being in the carousel would help.

By @mkirsche - 5 months
That looks super cool.

I started to build a game around my wired-logic proof of concept (https://github.com/martinkirsche/wired-logic) but never had time to finish it (the ideas are still developing in my head, tho).

However I am very happy to see that publishing it, was not for nothing.

By @dusted - 5 months
Build instructions are a bit sparse.

$ git clone https://github.com/lets-all-be-stupid-forever/circuit-artist... Cloning into 'circuit-artist'... remote: Enumerating objects: 326, done. remote: Counting objects: 100% (326/326), done. remote: Compressing objects: 100% (269/269), done. remote: Total 326 (delta 59), reused 306 (delta 52), pack-reused 0 (from 0) Receiving objects: 100% (326/326), 1.41 MiB | 7.70 MiB/s, done. Resolving deltas: 100% (59/59), done. $ cd circuit-artist/ $ mkdir build $ cd build/ $ cmake . CMake Warning: Ignoring extra path from command line:

   "."

CMake Error: The source directory "/home/chris_ji/code/circuit-artist/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. $ cmake .. -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:17 (add_subdirectory): The source directory

    /home/chris_ji/code/circuit-artist/third_party/raylib

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:18 (add_subdirectory): The source directory

    /home/chris_ji/code/circuit-artist/third_party/nativefiledialog-extended

  does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! $
By @imtringued - 5 months
I don't know if you have given it a try, but check out industrial tools like Cadence Virtuoso and Innovus. by letting people design their own standard cells, you can let your players go deeper down the rabbit hole.
By @mattdeboard - 5 months
Oh wow. Awesome. I had an idea for similar game for system design but got bogged down trying to learn game dev. This is so cool
By @cushychicken - 5 months
I think let’s-all-be-stupid-forever should cut themselves a bit of slack - this is pretty cool.
By @hhhAndrew - 5 months
This may be a great complement to the first half of the nand2tetris course.
By @amelius - 5 months
Does it have a maximum fan-out of the gates, like real gates do?
By @msephton - 5 months
Very cool!