I

I made a digital circuit drawing and simulation game

Hacker News

I made a digital circuit drawing and simulation game

Inspired by games like Turing Complete/Virtual Circuit Board/Logic World, I tried to make a mix of aseprite and wiredworld/wired-logic, the idea being the user can build a digital circuit using a "fullstack" pixelart creation workflow. The circuit is just an image. The primitives are (i) connected wires which have undefined, 0 or 1 state during simulation (displayed brighter or darker in function of the state) and (ii) NANDs, which are little pixel triangles. During simulation the user can interact with any wire by clicking on it, toggling its state, which is cool for messing around when learning. The simulation uses a unit-delay event driven algorithm. Then, on top of that there are little wire interfaces on the left side of the image that communicate with an external system. This external system is defined in lua and is simulated together with the main circuit (they alternate until convergence). By default there's a sandbox mode with a clock and a power-on-reset signal. The user can choose other "levels", where the API change and there are some problems to solve, from finding if a number is multiple of 3 to solving hanoi tower to finding if a number is prime. The idea is that if the user want to learn but not sure what to do they can try to solve these puzzles, or they can change the lua scripts to add their own stuff/interface for a custom project. I've also included a small wiki (circuitopedia) with some basic digital concepts to guide those who are new or are a bit rusty. It's not super detailed but I guess it can at the very least present the concepts so the user can dig further on more serious material if they want to. I developed the game in C with raylib, with scripting in lua/luajit. I've put the game on steam (for windows) and released the source code on github under GPLv3. There's also a web demo version on itch.io, even though it's a bit laggy: https://lets-all-be-stupid-foreva.itch.io/circuit-artist-dem... . Feedback is appreciated!

Share card

Actual performance

139points
14comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: user, new, using · Missing: mac, agents, macos
65%65% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: lua, ide, io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
10%10% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Bl
Blinkys – Digital Lifeforms Simulation48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Blinkys – Digital Lifeforms Simulation

Hacker News1
ScribbleX
ScribbleX43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Social Drawing Game

Indie Hackers1art
Te
Teen Patti game simulation using clojure57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Teen Patti game simulation using clojure

Hacker News1
We
WebGL Fire Simulation67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WebGL Fire Simulation

Hacker News143
Ph
Pharmaceutical Modeling and Simulation with Pumas (Julia)47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pharmaceutical Modeling and Simulation with Pumas (Julia)

Hacker News3
VT
VTI Hedging Simulation56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

VTI Hedging Simulation

Hacker News1
In
Infection Simulation56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Infection Simulation

Hacker News3
HT
HTML5 Bird Flocks Simulation in CoffeeScript55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HTML5 Bird Flocks Simulation in CoffeeScript

Hacker News47
Fi
Firefly Synchronization Simulation in ClojureScript56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Firefly Synchronization Simulation in ClojureScript

Hacker News24
Bo
Boids Simulation56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Boids Simulation

Hacker News63