![]() ![]() But in the general case of a full computer it's not feasible. For something like EXAPUNKS that may very well be practical, up to a limited number of undo steps, because the machine state is such a small amount of data. The only way to rewind code is to store a snapshot of the entire machine state after each instruction, and just play the snapshots in reverse order. I was afraid that this was gonna be a thing ever since I saw the interpreter for SpaceChem. Coincidentally, I fit my solution in exactly 100 lines before any optimisation. The information is destroyed by the COPY instruction so you can't rewind it. This was my first experience with brainfuck, but writing an interpreter proved surprisingly easy. I also develop an AI script to play Solitairi In the game. So you don't know what to set X to when you "rewind" this instrcution. The whole walkthrough is updating on GitHub repo. But you have no clue what X was before T overwrote it. ![]() If they arent there Backup your saves and reinstall. Program Files (x86)SteamSteamAppscommonEXAPUNKSContentmanual digitalen1 & digitalen2 are what you are looking for. EDIT: Clamping also comes into play with registers. So you can deduce that T must have been a 5 before, as this is what both T and X now have in them after the copy. All Discussions Screenshots Artwork Broadcasts Videos Workshop News Guides Reviews. Clamping means that, instead of the EXA halting, it knows to stop at the first value or the last value. Without knowing anything about you otherwise, I do think that narratively some themes of Exapunks might appeal to a stroke survivor. The instruction that just got ran a moment ago was COPY T X. If that sounds a bit onerous, then I typically recommend 'The human resource machine' as something that's similar, but has a more friendly user interface and a less steep learning curve. ![]() In general "running code in reverse" is one of those "mathematically impossible" things a Turing Machine can't do, like detecting an infinite loop.Ĭonsider this simple case: Currently X is set to 5 and T is also set to 5. Not enough ratings DAY 2.1 : ROCK PAPER SCISSORS (ADVENT OF CODE 2022) Description Discussions 0 Comments 0 Change Notes. I think it would still be useful even if it's a limited number of cycles. EXAPUNKS > Workshop > TheDarkJumpers Workshop. would copy to entry '2' into the file youre currnetly holding at the current point in the file. But generally, using the letter 'F' denotes files, so if you want to read to or from files, just use that to get the current entry. swiz x 1 x Again same as before but with the last digit. swiz x 2 x Same as before but just with the second digit. swiz x 3 x Take 954 and put the first digit (9) into the x Registery. All trademarks are property of their respective owners in the US and other countries. What you can do is run it through three simple swiz commands, assume x is 954. I guess I should have mentioned that I don't know if implementing this is possible. It contains all the commands you can use. Let's say you want to turn 954 into single digits. You'd have to either keep a log of every change done each cycle (expensive and a performance drain) or save the entire state each cycle (dito, but worse). Originally posted by Henke37:How do you propose that it should be done? Most of the instructions are destructive by their nature. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |