You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4q$="":fOk=.to1:fOi=1toj*3:?"{clear}"j$(j)"{home}{down}{white}day {gray}"i;q$:r=1+int(rN(.)*(j+1)):n=2+int(rN(.)*(j+1)):?"you are attacked by"n;e$(r)
6
-
5?"1. attack":?"2. run":inputa:a=aaN1:l=int(s-r*n+rN(.)*4):ifl<.tH?"you are hit and lose";-l"points":e=e+l:gEkEk$
7
-
6on-(e<.ors>99)gO9:ifaaNe>.tH?"you kill the "e$(r):p=1+rN(.)*r*3aN15:?"you get{yellow}"p;"{brown}$":g=g+p:gEkEk$:gO8
8
-
7m=l+6*((r=1)or(r=4)):ifm<.tH?"they grab you and you lose";-m+1"points":e=e+m-1:gEkEk$:gO5:else?"you escaped":gEkEk$
9
-
8nE:p=j*int(10+rN(.)*19):q$=" return":?"{clear}at the end you find{yellow}";p;"{brown}$":g=g+p:gEkEk$:nE:w(1)=j:gO1:dA"{light green}enchanted forest","{gray}mysterious cave","{green}dark woods","{cyan}merchant"
10
-
9ife<.tH?"{clear}you are dead!":gEkEk$:gO0:else:?"{clear}you won!":gEkEk$:gO0dA:dA"{cyan}potion",10,0,"{brown}sword",100,10,"{yellow}dragon's sword",1000,50,"{gray}leave",0,0,"trolls","kobolds","elves","werewolves"
0 commit comments