Hey programmers,
This one's small, and most of it came from one review. Someone put five hours in, compared Fork Bomb to The Farmer Was Replaced, and listed what they missed. Half of it I had to build. The other half was already in the game and hidden so well that a five hour player never found it.
New
- Rest your mouse on a variable in your code to see its value. It reads the machine you've clicked on (or the lowest numbered one if you haven't picked) and it updates live while the sim runs. Inside a def you get that call's own values, so locals and parameters work too.
- The code panel can take the whole screen now. Hit ⤢ in its title bar or double click the bar. Esc puts it back exactly where it was. In vim mode Esc belongs to vim, so use the button.
- Saved snippets. Select some code, hit { } in the code panel and give it a name. It goes back in wherever your cursor is, and it comes with you through Steam Cloud. Snippets count toward your line score like anything you type, so no free lines, sorry.
- The panels have always moved, resized and collapsed, and almost nobody knew. There's a one time note that says so now. Click got it and you won't see it again.
Fixed
- Dicts in the inspector showed up as . They print properly now, the same way print() shows them. The inspector also lists a function's locals while a machine is inside it.
- In vim mode, putting a call in from the API reference is one undo now instead of several.
Still on the list
A proper debugger with breakpoints, and real imports. Imports would let one shared helper file shrink every line score to nothing, so snippets are how you reuse code for now. Hovering whole expressions like grid is the obvious next step if you want it, just say so. Leaderboards, Emacs keybindings, more campaign levels and Linux are all still on the list too.
Thanks for that review, and to everyone else sending feedback.
Ellis