blast protection

From Esolang
Jump to navigation Jump to search

blast protection is an esolang based on obsidian and tnt.

blocks

o obsidian
r red tnt
b blue tnt
w wooden planks
c cobblestone
d dirt
g glass
# bedrock
% glitch block

the tnt blows up to the right always

how the blocks interact

the blocks interact to make a brainfuck clone.

here is a table of the brainfuck commands

rwcdgowcdg
 +-<>
bwcdgowcdg
 .,[]

or if we rotate it and make it a table,

 rb
w+.
c-,
d<[
g>]

the obsidian stops the tnt from going any further

the bedrock makes the tnt turn right.

  w
r  #
  c

here, - gets activated instead of +

the glitch block glitches and makes the tnt head backwards

rw%

is "++" in brainfuck

this is because the bedrock makes the tnt turn right instead of left.

also, all the tnt get activated when the program starts, but each one takes one turn per move, so these

rw
r c

wouldnt have + and - happening at the same time, it would be like running "+-" in brainfuck

ascii loop

%rw %
%b w%