ScratchData LogoScratchData
Back to kenny2scratch's profile

P'' / brainquack

KEkenny2scratch•Created September 18, 2019
P'' / brainquack
12
9
178 views
View on Scratch

Instructions

Scroll to the bottom to learn what each command does, and what this even is. Controls: Click and drag any of the +-><[]., blocks to place them in a certain location. Pressing the 1-8 number keys also creates a corresponding block at your mouse pointer. Click the green "play" button (or press space) to run the program. Click the down arrow (or press that key) to import brainquack code from text. (If you're making long programs, I recommend you draft them in text and import them using this.) Click the up arrow (or press that key) to export the current program into copyable text. Click the octagon/circle button (or press the 0 key) to toggle debugging mode. If the button is red, the program will pause after every instruction - press space to step to the next instruction. If it is green, the program will be run all the way through. You can pause the program once at a particular point by toggling debugging mode on then off again (press 0 three times) - the program will pause at that point, and pressing space will continue on. If it is blue, the next time the program is run, it will be "run without screen refresh" - the entire program will finish instantly. (This mode can only be enabled before running.) Click the left and right arrows (or press the corresponding keys) to go to the previous or next page. The number in the bottom right shows the current page number. Info: The orange variable display holds the output text. The blue (and red) numbers show the current state of program memory, with the red number being the current cell. Other Info: https://en.wikipedia.org/wiki/%42%72%61%69%6E%66%75%63%6B Brain... quack is a simple programming language that consists of eight total possible instructions: + - add one to the current cell - - subtract one from the current cell > - move one cell to the right < - move one cell to the left [ - if the current cell is 0, jump forward to the corresponding ] ] - if the current cell is not 0, jump back to the corresponding [ . - output the character with the ASCII value of the current cell , - take one character from input and set the current cell to its ASCII value

Description

Everything made by me. Update Nov 5, 2019: Added "run without screen refresh" mode, which actually unhooks screen refresh. Changed clone method of showing program to pen method to eliminate 300 character limit imposed by 300 clone limit. The character limit is now the list length limit.

Project Details

Project ID329698474
CreatedSeptember 18, 2019
Last ModifiedNovember 5, 2019
SharedSeptember 19, 2019
Visibilityvisible
CommentsAllowed