Sockets on a component's box could not be dragged in the designer and got
pushed around when other pins moved. They are now picked and dragged like
any pin (onto or past a neighbour they swap), and the lines split out of
a socket move with it as one block.
The In and Out port parts measured their title at nearly twice its size,
so they were much wider than what they show.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- A picked lamp, display or screen has a size grip on its corner.
- A pin dragged onto or past its neighbour swaps places with it (the
order is kept in the design; boxes designed before keep theirs).
- Shift + click, or a box around things, picks several: dragged or moved
with the arrow keys together, drawings among them deleted together.
- A screen can be split into its pixels, each placed on its own (they
start where they sat, sized and turned as the screen was), or joined.
- New designs fit the box to what is on it (Fit, on and off): it shrinks
as well as grows. A size typed in turns it off.
- A display of a part inside lands in the first free spot inside the box
instead of under it, and keeps the size and turn its own box gives it.
- Pointing at a display from a part inside (in the designer and on the
placed box) says which part it is from.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A cable whose wires are partly unused (nothing feeds them at its bundle,
nothing takes them from a split) offers to drop them: its button, its
menu, e.g. 16 → 5. The rest close up in order with their names, each on
the row it had, so the wires to them stay where they are.
The buttons of a part pointed at went away only once the pointer rested;
moving on kept putting it off. They now go shortly after the pointer
leaves, and panning or zooming the view lets them go at once.
The speed test takes the best of three runs, so tests running alongside
can't fail it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Pointing at a part shows its round buttons, as if it were selected; they
stay while the pointer goes to them.
- A box around some pins of one part (not over its middle), or Shift +
click on pins, picks exactly those pins: a cable plug on them, wire them
one by one, invert or unwire them, from buttons beside them or a
right-click.
- Right-click on a pin offers what can be done right there first: split a
component's cable socket into wires (or join), pull a cable out of a cable
end, invert an input.
- A docked panel moves both ways now: moved up or down off its component's
pins it lets go and stays a panel of its own (rows and wires kept);
moved sideways it stays docked.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Round buttons on the canvas next to what is selected: split a component's
connector port into wires or join it (beside each socket), pull a cable out
of a plug, plug a cable end in or out, split a cable into single wires,
bundle selected wires.
- The cable button on a component's pins puts just a plug there. Drag the
cable out of its pin (or press Pull the cable out and click): the other end
goes where it is let go, and on a part's pins its wires land on them.
- A split port's wires on the box are marked off by a line above and below
in the connector's colour.
- A split plug with no cable yet is named after the pins it drives.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A project that comes in with the same circuit open (a newer save from
another computer, a savegame restored in place, a shared link opened
again) now runs from the bits it brings. Before, the running circuit
went on with this computer's old bits and wrote them over the newer ones
at the next save, and a savegame could not undo Power off and on.
Bits changed only by buttons or a clock are sent to the account when the
page is hidden or closed, when you leave the project, and before signing
out, so they are no longer lost by "remove from this browser" and reach
the other computer. A running clock alone still sends nothing. Bits alone
keep the project's save time, so an edit saved on another computer wins
over them and they end up in its savegames.
What circuits hold has its own room of 500 KB per project on top of the
2 MB limit, in the browser, the account and share links. When it is full,
the circuits left longest ago start from 0; a circuit that holds more than
that on its own says so once. A project can no longer become too large to
load because of its memory.
A savegame opened as a copy saves the project it leaves first, like every
other way of switching projects.
Tests now run the editor itself (in a stand-in browser with an account
server) for going into components and back, reloads, two projects, other
computers, savegames, signing out and the room limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A component with a challenge or puzzle solution anywhere inside stays
private, not only a challenge circuit itself, so wrapping a solution in a
part of its own no longer publishes it.
A campaign takes nothing from the library: Add and "Get version" are off
there, with a line saying why. A library part could be duplicated,
published again or taken apart into a solution, so a check on placing was
not enough.
Library marks come only from the entry being added. The server drops the
marks a publisher sends, and whether an entry is yours depends only on the
key this browser keeps for that project and component, so a part claiming
to be someone's entry can't be published over it.
The listing keeps pin counts and the first 16 pin names a side, short, and
a group of 40 characters at most, so it stays small whatever is sent.
"Get version" clears away what came along with the old version once
nothing else uses it, and the new parts take its names. Adding never
reuses another entry's component, so updating one entry leaves the others
as they were.
Wire corner points that aren't number pairs are dropped when a project,
link or library entry is read, so a circuit can always be drawn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A wire dropped on a socket with a cable in it only takes a line coming
out; the lines going in are the cable's, so it no longer drives one
against the cable. Wired by hand anyway, the check calls that an error,
like a signal sent by two parts. A line going in with neither a wire nor
a cable gets the usual "not connected (reads 0)" warning and marker.
While a wire is drawn over a socket it ends on the socket, where it goes
when let go, not on the pin below. Splitting or joining a port no longer
moves the pins on the other side of the box. Pins on their usual edge
come first, so a wire dropped on the box body takes those, and the cable
button only offers pins whose cable end sits outside the box.
Unpacking a component joins wires on its split lines to the parts that
used the line inside; wires that had nowhere to go are counted in a
notice. Docked panels line up with the moved ports when a project is
opened, not at the next edit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hand-placed bends stayed where they were when parts moved, and the router
takes such wires as fixed lines. So a wire to a moved part was joined to
its old bends by a straight piece that could cross that part (into its pin
from the wrong side) or other parts, run along another signal or over
someone else's pin; a part put down on a wire's bends lay right over it;
and wires of the same signal branched off those lines. The arrow keys also
froze picked wires into bends and shifted them even when one end stayed.
Now a drag and the arrow keys move parts the same way (move.ts), always
from where they started. Wires between parts that move together keep
their bends, moved along. A wire to a part that stays keeps the bends on
that side as long as the way through them is clear by the router's own
rules (a cable by its full width) and lets go of the others, which the
router lays out around the parts; a wire a moved part now lies on does
the same. Only these wires are looked at. What shows while dragging is
what stays, and the drop, a plug or latch included, is one undo step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Publish to the library…" in the menu on a circuit's name (or Space)
sends the component with every component it uses and their connector
types, under your leaderboard name. The server checks it like any
project, refuses what is missing, inside itself, nested too deep or too
big to run, and counts its transistors and pins itself. Publishing again
from the same browser makes the next version of the same entry; only that
browser holds the entry's key, so only it can update or remove it.
Challenge circuits and puzzle solutions stay private.
The Library (Components in the bottom bar, Space, the main menu) lists
every entry, newest first, searchable by name, description and author,
with a picture of its box, its transistors, pins and what comes along.
Add brings an entry into the open project and starts placing it: what the
project has in exactly that form already is used as it is, the rest comes
with new ids, a taken name gets a number, connector types join one with
the same lines. The This panel says where a component came from and
offers a newer version, which replaces it in place. A campaign only adds
what is built from parts it has earned, and its challenges take nothing
from the library.
Components keep an optional "from" mark; projects without it load and
compute as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What latches, flip-flops, registers and RAM built from NANDs hold is no
longer lost when you go into a component and come back, reload the page or
open the project on another computer. Leaving a circuit puts its bits in
the project, and opening it starts from them.
Only the gates on feedback loops can hold a bit, so only those that are 1
are kept, plus the clocks that are high: each node id once, each gate as
the path levels it shares with the gate before plus the rest. 1,024
flip-flops take about 30 KB. Restoring runs the gates in the order signals
flow, so the gates in front of a latch are right before it reads them;
gates that no longer exist after an edit are ignored.
The bits go with every save, file, share link and account upload. Between
saves (a clock running, a button pressed) they are put in this browser's
copy every 30 seconds and when the page is left, without counting as a
change: no sync, savegame or undo step of their own, and never over a save
made in another tab. Projects without them start from all zeros as before.
"Power off and on" in the menu on the circuit's name, or with Space,
starts the open circuit again from all zeros.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a component's box every connector port now sits at the very top of its
side, above the single pins, in auto and hand-drawn boxes alike. A port
can be split on one placed component (its settings or right click: Split
… into lines): right below the socket the box then gets a pin per line,
named after the line, so lines can be wired by hand without an adapter.
Lines going into the component are inputs, lines coming out outputs, each
facing out of its side; a bar in the type's colour ties them to the
socket. A cable still plugs into the socket at the same time. Dropping a
single wire on a socket (or clicking one while connecting) splits the
port and takes the first free line that runs that way. Join … lines
takes the line pins and their wires away again, as one undo step.
A line wired by hand joins the same net the cable's line reaches inside;
a wire and a cable on one line both drive it, and the check says so.
Line pins are left out of the open-input warning, docked panels and
bubbles; docked panels no longer get a row for a port's socket either.
Saved as an optional list on the placed component (splitPorts); without
it a box only has its ports moved to the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A part whose pins line up one for one with the pins it is wired to can
sit straight on them, like a display on a CPU's outputs or a switch on a
component's input. Drag it close (green rings show where) or choose
Latch onto in its menu or settings. It then moves with that part; drag it
away or Unlatch to let go. Parts whose shared pins already touch latch by
themselves, the smaller onto the larger. A pin that would touch another
without a wire keeps it from latching. A clamp marks the joint.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A jump is drawn once more over every line, so a cable that arches over
another is never hidden under it, whatever order they are drawn in. Cable
labels sit on the longest stretch no other line crosses.
The circuit's name in the top bar opens what can be done with it: tidy
its wires or every circuit's, design its box, duplicate, delete, print,
export SVG, publish as a puzzle. The This panel keeps what the circuit is:
its health, its numbers (the transistors tile opens their breakdown), its
truth table and how it looks as a part. Unused components are a tab of
the Components list in the parts bar, with a delete button on each.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Parts are walls with a margin: a line only touches a part where it ends on
its pin. When the usual route and its alternatives are blocked, a search
of the grid around the parts finds the way. Cables count as wide as their
sleeve, so they keep clear of each other. A further wire or cable of a
signal branches off the lines already laid, and cables of one signal are
drawn as one that splits. At crossings the thinner line jumps over the
wider one, as wide as it needs (vertical ones sideways); cables hop with
every line inside. Tidy every circuit lays out all circuits in one go.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Each row is one line: a grip to drag it, its colour (click for the next),
its name, switch / button / clock as three icons, its key (or Hz for a
clock), remove. Pointing between two rows offers to add a row there or
more or less space; empty rows show as that much dashed space. Alt + up
or down in a name moves the row. Rows keep their wires when moved.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A bubble on a lamp or output pin now shows on it. The truth table, Check,
puzzle scores and gate detection read what an output puts out after its
bubble (they read the raw wire, so a bubble on an output was ignored), and
rows of an output panel count as outputs there (they always read 0).
Right-click on an input pin offers to invert it, for desktops that take
Alt+click for themselves.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Combining switches, buttons, lamps or outputs into a panel, and merging
panels, puts the rows right under each other (space 0). Tab in the last
row's name of a panel, or the last line of a connector type, adds the
next one once it is filled in. The bottom bar's lists open centred above
the pointer. The top bar keeps the width it has with both panels open,
centred, so it no longer grows and shrinks with the panels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
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>
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Output panel: a column of named lamps, each passing its signal on; inside a component its rows are output pins (or kept inside); "Attach output panel" docks one to a component's outputs
- Select switches, buttons and clocks: Combine into an input panel (names, states, keys and wires stay; spacing kept); "All rows" makes them all switches, buttons or clocks
- Select lamps or output pins: Combine into an output panel
- Unnamed panel rows take the name of the pin they are wired to; output panels merge like input panels; circuits that place this one keep their wires when pins move into a panel
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Right click a component (or its settings): "Cable from outputs" / "Cable into inputs" with the pin groups it has (A0–A3, B0–B3, S0–S3) or all of them
- The cable end plugs onto those pins, the other end waits a few squares away with their names; drop it on the next part's pins and it plugs in there
- Also for input panels (rows out) and hex displays
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 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>
- 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>
- Select several lamps, output pins, switches or gates: every run of free pins they fit on (nearest parts first) shows as a green box; pointing along it picks the pins (S0+S1, S1+S2, ...) with a preview, a click wires them all top to bottom
- "Wire them all to" lists those fits, nearest first; the old pick-any-part stays under "Any part"
- Dragging a part so a free pin lands on (or a square from) a pin it can join shows a green ring and connects on drop; Alt places it without connecting
- A cable end only plugs in by itself when all its wires sit on the part; a name a part covers is hidden
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- A free bundle or split has no box any more: each wire bends straight into its own lane of the cable, lit and coloured like the wire; a dashed outline shows on hover to grab it
- A wire's name shows next to a free end only when the part at the other end doesn't show it already (a switch or lamp of that name, a component pin)
- Names no longer widen a cable end, so its pins never move
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- A bundle or split whose wires all meet one part sits on its pins with a latch, moves with the part, and comes loose when dragged away; Ctrl+G plugs both ends in when it can
- Cable ends take the spacing of the pins they plug into, or a spacing you set
- Each wire of a cable carries a name (S0..S3, Cout), shown on free cable ends and as dimmed names on what they feed
- Bundles get "Attach input panel"; panel rows get a keyboard key, an on colour, space above and up/down order
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- "Bundle into cable" (Ctrl+G) places both ends itself again: right after
the sources on their middle row, right before the targets on theirs, so
the wires keep their flow; backwards wires get a backwards cable, and an
end steps aside when a part is in the way. "Place the ends yourself…"
(Ctrl+Shift+G) keeps the two-click placement.
- "Unlink all" on a bundle or split removes only the wires going in or out;
the cable between them stays.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A box that touches no parts selects every wire it crosses, so dragging
across the wires between parts marks them for bundling. Right to left
(green box) selects everything touched, parts and wires; left to right over
parts keeps selecting only wires fully inside, so Delete stays safe.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 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>
When a target sat level with another wire's source (Y3 next to S2), the
column order counted that as free, and ties went to the leftmost column:
S3 stepped left of S2, its last run shared S2's row, and the overlap pass
pushed it onto a side lane with a jog before the pin. Now a shared row
costs more than a crossing, ties keep top-to-bottom order, and a tidy
route that would still run along another signal goes to the usual router.
Tests: the reported layout, and no shared lines in tidy mode for every
example circuit.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 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>
- 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>
- Tidy wiring orders all wires entering one column together and lays
them out as one compact staircase a grid step apart, sliding only
within that gap to avoid running along other signals. Separate
bundles into the same part no longer cross each other.
- Lamps and output pins get a pin on the right that carries the same
signal on; labels move above when it is wired.
- AND, OR, XOR, NAND and NOR (built in, examples or your own, detected
from the truth table) take 2 to 16 inputs. The wide version is a
balanced tree of the two-input gate, so transistors count honestly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- Every component shows its transistors (CMOS, 4 per NAND, at every
depth) in the palette, its settings and the stats. Challenges keep
the fewest transistors of a passing solution and announce new records.
- Cables: bundle and split parts carry 2 to 32 wires as one thick cable
with a width mark; "Bundle into cable" builds one from selected wires,
"Remove cable" takes it apart. Cable ends only join cable ends.
- Pixel part; pixels inside a component show on its box as one screen
without gaps. New examples: Screen 4x4 and Demo: Screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>