Commit Graph

17 Commits

Author SHA1 Message Date
Fabian @ Blax Software 71332a1dfa R Top bar floats over the canvas, side panel full height
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:24:52 +02:00
Fabian @ Blax Software 6e3405ae0c R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:17:41 +02:00
Fabian @ Blax Software 67e3d94d80 R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
  Connectors, Components (and search). Pointing at one opens its parts
  above it: click to place, drag onto the canvas, pin to the left.
  Connectors offer Out/In, edit and new type; components come grouped
  with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
  output, lamp, clock to start with; kept per browser, components by
  name so they follow you into every project), then the circuits list.
  The long list of built-in parts and the connector list moved to the
  bar.
- Slimmer top bar and side panels; notices sit above the bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:04:43 +02:00
Fabian @ Blax Software 8de4a81678 A connector types of your own: HDMI, RJ45 or any bus, with out and in ports and one cable that carries every line both ways
- A project keeps connector types: a name, a colour and lines that run
  out -> in or back. Made, edited and deleted (once unused) from the
  parts list's new Connectors group and a connector dialog.
- "<type> out" and "<type> in" ports: inside a component a pin per line
  on the inner side plus a cable pin to pass the whole cable on to a
  part inside; on the component's box one port, coloured like its type.
- One cable joins an out port to an in port of the same type; the
  compiler joins line by line, forward and back, at every depth. Ports
  of different types never join; mismatched cables are pruned.
- Pins can face the other way (the inner pins of ports); the router
  takes them out and in from the side they face.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:59:56 +02:00
Fabian @ Blax Software c5b67ee7c1 R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel
- Sync: when two devices changed the same project, the newer save wins
  everywhere and the other becomes a savegame of it (new endpoint to keep
  a savegame without replacing the save), never an "(other device)" copy.
  A first visit keeps its starter unsaved until something changes, and
  the main menu waits for the account's saves before anything starts.
- Main menu: Load game lists every save. In the editor, Esc with nothing
  selected (or the project button) opens a pause menu: Resume, Save,
  Save as copy, Load, Settings, How to play, Main menu. The projects
  dialog is gone.
- Selection tab: name and transistors on top, one icon row (open,
  duplicate, unlink, delete, more = the right-click menu), only the
  settings that matter for the part; pins, component tools, keys, cable
  and panel options fold away and remember it. X/Y fields removed.
  The Circuit tab folds its component settings, transistor breakdown
  and tools the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:36:17 +02:00
Fabian @ Blax Software 9411527c5d A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself
Logigate opens on a title screen. Continue, Free play (your own projects),
Campaign (progress and what is next), Challenges (every challenge and the
puzzle of the week in one Challenges project), Leaderboard (the best ten of
this and earlier weeks, your place, your records), Settings. Arrow keys,
Enter and Esc work through it; links still open straight into the editor.
Players can name themselves on the leaderboards. The logo in the editor
leads back to the menu.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 12:22:35 +02:00
Fabian @ Blax Software 7a00546e63 A parts dropped from the list connect where they land, cable buttons beside a selected part's pins, a reload offer for new releases
- Dragging (or placing) a part onto pins: its free pins land on pins they can join, a square away is enough, green rings show where; dropped, it is placed and wired in one step (Alt: just place)
- A selected component, panel or hex display shows a cable button beside its outputs and its inputs: one click for a cable onto those pins (or pick S0–S3, all 5, ...)
- Cable from outputs (or into inputs) whose pins already have one wire each takes those wires into the cable instead of adding a second path
- An open tab notices a new release within a minute and offers a reload (work is saved)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 14:21:40 +02:00
Fabian @ Blax Software deb94b9d61 BF input panels are component inputs, cable ends plug in more reliably; A merge panels, hex pass-through, design a component's box
- Inside a component, the switch and button rows of its input panels are now input pins (in order with the other inputs, named after the rows); "Rows are component inputs" can be turned off per panel to keep the old fixed switches
- Select input panels, Merge: one panel with all rows, spacing and wires kept; circuits that place this one keep their wires
- Cable ends plug in more often: bundling orders the wires by the part a side runs to, an end with only some wires on a part still plugs, an end placed by hand next to the pins plugs, and dragging an end near its part shows green rings and plugs it on drop
- Hex displays pass their four bits on (outputs on the right), so they can sit in the middle of a bus
- Design the box: move lamps, displays, the screen and the name on a component's box, draw lines, boxes, circles and text in six colours, size it, leave things off; every placed copy shows it

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 13:49:29 +02:00
Fabian @ Blax Software 4d0e32d678 A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 13:26:59 +02:00
Fabian @ Blax Software 29c32026d7 A cables you place yourself, drawn as coloured ribbons
- Select wires (or a box of parts and wires), "Bundle into cable…" or
  Ctrl+G, then click where the cable starts and where it ends, with a
  preview; "place it for me" keeps the automatic placement.
- Up to 16 wires, a cable is a ribbon: one thin line per wire inside the
  sleeve, in that wire's colour, lit on its own.
- The sleeve starts neutral (no longer takes the first wire's colour) and
  has its own colour in the cable and bundle/split settings. Wide cables
  are clickable across their width; the width mark sits above the ribbon.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:39:54 +02:00
Fabian @ Blax Software f1b72b3e3c BF pin names editable again, A dense Pins list with toggles and panel groups, wire many at once, folding side panels, full zoom-out
- Pins list rows used the class "pin", which the canvas styles as
  unclickable: renaming and focusing pins did nothing. Renamed the class.
- One line per entry; click the value to flip a switch, hold for a button;
  panel rows framed under their panel.
- Drag one wire from a selected part to another part: all selected parts
  connect to its next pins in order; "Wire them all to" in the bulk panel.
- Both side panels fold to an icon strip ([ and ]), remembered per browser.
- Zoom out until the whole circuit fits (further for bigger circuits); grid
  dots hide when they would be too dense.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:09:43 +02:00
Fabian @ Blax Software 74b257ce6e A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
  preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
  place (Enter goes to the next), number a whole side from a pattern, flag
  duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
  pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
  and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
  palette, and a per-part breakdown of the circuit. Test: the count equals
  4 x the gates the simulator builds, for every example and wide gate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 09:29:55 +02:00
Fabian @ Blax Software 2edb458372 A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
  dependency chain, each solution becomes a usable part, and basic parts
  unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
  delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
  volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
  The server re-runs the checks on submitted solutions, counts their
  transistors and keeps each player's best; the board shows a histogram
  and your place. A generated puzzle of the week for everyone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:54:57 +02:00
Fabian @ Blax Software 861b161c8b A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
  panel" docks one to a component with a row per free input; it moves
  with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
  switches, lamps and pins take the name of the component pin they are
  wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
  free pin, click-then-click works, and "Connect one by one" (W) wires a
  selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
  per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
  highlighted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:17:25 +02:00
Fabian @ Blax Software 08b086a71e A crash-safe storage, savegames and daily backups
- Writes go to a flushed temporary file and are renamed into place; the last
  intact version stays as .bak and reads fall back to it, so a power cut
  never leaves a damaged save. Same file format as before.
- Savegames per account project (newest 30, one per day for 90 days), kept
  before restores and deletions; deleted projects restorable for 30 days.
  Projects dialog: savegames per project and "Recently deleted".
- Daily gzip backup of data/ into backups/ (14 newest + monthly), restore
  script scripts/restore-backup.mjs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:20:55 +02:00
Fabian @ Blax Software 5e17826ba5 A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
  matching pins), clock frequency per clock, keyboard keys for switches and
  buttons, lamp/display colours, note sizes, component names on the canvas,
  position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
  columns or detours, remaining clashes go on separate lanes. Crossings drawn
  as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
  sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
  release a241adc must load and compute identically.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:09:37 +02:00
Fabian @ Blax Software a241adc94e A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
  labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
  edits save to automatically, others get their own copy. Export, open a
  file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
  branch, double-click selects the whole signal, multi-select, arrow keys,
  colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
  as a volume on edgerealm.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 13:21:49 +02:00