Wiki page: esolangs.org/wiki/Betray esolang that randomizes itself before it runs, also includes commands that modify the code while its running commands: + Increment - Decrement * Multiply the increment by 2 / Divide the increment by 2 = Outputs the increment 0 Zeroes the increment ^ Negates the increment i Gets input and outputs it ! Gets input and sets it as the increment (numbers only) @ Randomizes the increment from 0 to 100 H Halts the program ? Gives a 50/50 chance to either halt the program or do nothing. | Outputs the increment as an ASCII Character C Clears the output code-modifying commands: % Adds a random command to the code $ Changes a random command to another one # Changes every command to a random one X Removes a random command from the code Examples can be seen in the credits below
c2a Examples ----------------------------------------------------------------- Countdown (has a 1/16 chance to work properly): +++++=-=-=-=-=-= Random Number Generator (1/2 chance): @= One Time Cat: i Hello World (1/151 chance): ++++****++++++++|0+++++++++++++***---|+++++++||+++|0+++++***++++|0++****|0+++++****+++++++|0+++++++++++++***---++++++++++|+++|------|--------|0++****+|