function x=creature_state()
    x=floor(2.1*rand())+1;
endfunction
