Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Making a Phrase Using a Copy Function
- //Phrase: Game Over
- // ABCDEFGHIJKLMNOPQRSTUVWXYZ
- // (SPACE)GOaemrv
- // 32, 71, 79, 97, 101, 109, 114, 118, 0
- //block Print Order: 2 4 6 5 1 3 8 5 7
- [>+>+<<-]>>[<<+>>-]<+< // Copy Block A into block B Using C as a work space and Then Sets Pointer at Block A
- (The Plus during the movement must be included else B = A Minus 1)
- >[-]< // Resetting Block B
- >++++++++[<++++>-]<[>+>+<<-]>>[<<+>>-] //Puts Space into Block 1&2 - Ends at block 3
- +++++[<++++++++++>-]<-[>+>+<<-]>>[<<+>>-]< //Puts G into Block 2&3 - Ends at Block 3
- +++++++++[>+>+<<-]>>[<<+>>-] //Puts O into Block 3&4 - Ends at Block 5
- ++++[<++++++>-]<[>+>+<<-]>>[<<+>>-]< //Puts a into Block 4&5 - Ends at block 5
- +++++[>+>+<<-]>>[<<+>>-]< //Puts e into Block 5&6 - Ends at Block 6
- +++++++++[>+>+<<-]>>[<<+>>-]< //Puts m into Block 6&7 - Ends at Block 7
- ++++++[>+>+<<-]>>[<<+>>-]<+ //Puts r into block 7&8 - Ends at Block 8
- ++++ //Puts v into block 8 - Ends at block 8
- <<<<<<.>>.>>.<.<<<<.>>.>>>>>.<<<.>>.
- Output: Game Over
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement