Logic Simulator

Logic Simulator Used AI

5 devlogs
26h 15m
•  Ship certified

A digital logic simulator written in C++ that provides a GUI using SDL3.

Timeline

Ship 1

1 payout of shell 130.0 shells

Konstantinos Fragkoulis

over 1 year ago

Konstantinos Fragkoulis • Covers 5 devlogs and 26h 15m

I created a proper shortcut manager that will allow in the future to easily create user customizable keyboard shortcuts. I also made wires selectable, and fixed some bugs.

Update attachment

Over the last few days I made wires work properly and I fixed a LOT of bugs. I also began working on a modular shortcut manager which is a prerequisite for some important features that I haven't implemented yet.

Update attachment

I implemented a basic, event-driven system that can simulate feedback based circuits! I also did a bit of refactoring, and cleaned up unused code. Now, I need to make the wires actually connect the components in the GUI, and make the sim more stable.

Update attachment

Today, I created some nice graphics for the buttons and the logic gates. I also improved the drag & drop system to work for all objects and not just assume a hardcoded size for all objects, made some other small changes, and fixed some bugs.

Update attachment

In the past 2 days I began exploring SDL3 and implemented a robust drag & drop system that allows for multiple object selections. I'm using OOP as much as possible and I have set up classes for input devices, logic gates, and output devices. In the coming days I will implement the logic to wire them all up from a GUI.

Update attachment