Skip to content

Initial React + Vite Logic Simulator app with UI, simulation, and styles - #2

Open
ChetanM1 wants to merge 1 commit into
mainfrom
codex/create-logic-gate-simulation-web-app-6zkas8
Open

Initial React + Vite Logic Simulator app with UI, simulation, and styles#2
ChetanM1 wants to merge 1 commit into
mainfrom
codex/create-logic-gate-simulation-web-app-6zkas8

Conversation

@ChetanM1

Copy link
Copy Markdown
Owner

Motivation

  • Provide a self-contained web app scaffold for a logic gate simulator so users can build, wire, and run circuits in the browser.

Description

  • Add a Vite + React application scaffold including package.json, index.html, src/main.jsx, and a top-level README.md with usage and build instructions.
  • Implement the simulator UI and core logic in src/App.jsx, including gate types, gate evaluation (evaluateGate), wiring, draggable nodes, undo/clear, starter circuit nodes, and a truth-table / live-runner panel (TruthTable).
  • Add a minimal error boundary in src/main.jsx to surface runtime errors and include styling in src/styles.css for the board, nodes, wires, and run panel.

Testing

  • Ran a production build using npm run build (Vite) and the build completed successfully.
  • No automated unit tests or test suite are included in this change.

Codex Task

@ChetanM1 ChetanM1 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant