You've heard about Brainfuck, well, this is Pianofuck. It's a stack-based esoteric "programming language" that could hurt your ears. To write a program, you play keys on the keyboard. Try it out on this page and watch your program execute (listen to it as well!).
There are two basic commands: POP and PUSH. To pop an item off the stack, play D on the piano. To push an item, play C on the piano followed by your number in binary (D for 0, E for 1) or G/F for the saved variables, if available. When you're finished play C again.
We also have arithmetic functions. Play E followed by one of the following:
And there's a bit of logic available. Play F followed by one of the following:
Lastly, you can output the top item from your stack by playing G followed by one of the following:
Click the S key to make a play the C note, then D to make D4 and so on up until B4 with the K key.
To hit a black key, use SHIFT.
To move up and down the piano, click ⬅︎ and ⮕. Your current section is 4
OUTPUT: