Thue/Turn based battle game

From Esolang
Jump to navigation Jump to search
Back to Thue

made by User:Fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

{input}::=:::
attackE::={inputted}
heal::=PP{inputted}
{inputted}::=A{sayAttack};
{sayAttack}::=~ ENEMY ATTACKS! 
PA;::={infoplayer<{printplayer}}
{printplayer}::=~ PLAYER HP: 
{printenemy}::=~ ENEMY HP: 
P{infoplayer<}::={infoplayer<{printstar}}P
{printstar}::=~*
({infoplayer<}::=({bringer>}
{bringer>})::={win}
{bringer>}P::=P{bringer>}
{bringer>}E::={infoenemy>{printenemy}}E
{infoenemy>}E::=E{infoenemy>{printstar}}
{infoenemy>})::={check?<})
P{check?<})::={tie}
E{check?<}::=E{check<}
E{check<}::={check<}E
({check<}::={lose}
P{check<}::=P{input}
{win}::=~ ENEMY HP: 0  You Win!
{lose}::=~ You Lose
::=
(PPPPP{input}EEEEEEEE)