OFFICIAL

From Esolang
Jump to navigation Jump to search

OFFICIAL is a esolang created by User:Yayimhere. thats it

how it works

OFFICIAL has these commands:

>v#
^<]$

the arrows are obvious but heres what the # is. lets say we have a pointer(represented by !). heres what happens:

  #
!

iter 1:

  #
 !

iter 2:

  #
  !

iter 3:


   !#

iter 4:


  ! #

the pointer comes in from one direction the it moves the #. it moves the # clockwise. if the # comes in front of it it turns 180 degrees. and you will also ask what the ] command does. well it will just be pushed in pointer direction. and if its pushed into another symbol the program halts. and $ will skip the command in pointer direction. also the grid is infinite in downwards and rightwards direction and the pointer is at the top left corner of the grid

examples

loop:

v<
>^

double cycle:

v   #
> $#  $ <