Skip to main content
Fixed Script
Source Link

VBScript, 201257 bytes

Randomize():z="zun,":d="doko,":Do:a=e:Do:a=a&Array(z,d)(Round(Rnd())):Loop While UBound(Split(a,","))<5:MsgBoxDo:a=Split(a,","):a(0)="a":a=Replace(Join(a,",")&Array(z,d)(Round(Rnd())),"a,",e):MsgBox a:Loop While Not Cbool(Instr(a,Replace(Space(4)"zun," "zun, "zunzun,")&"dokodoko,")):MsgBox"ki-yo-shi!" 

VBScript, 201 bytes

Randomize():z="zun,":d="doko,":Do:a=e:Do:a=a&Array(z,d)(Round(Rnd())):Loop While UBound(Split(a,","))<5:MsgBox(a):Loop While Not Cbool(Instr(a,Replace(Space(4)," ", "zun,")&"doko,")):MsgBox"ki-yo-shi!" 

VBScript, 257 bytes

Randomize():z="zun,":d="doko,":Do:a=a&Array(z,d)(Round(Rnd())):Loop While UBound(Split(a,","))<5:Do:a=Split(a,","):a(0)="a":a=Replace(Join(a,",")&Array(z,d)(Round(Rnd())),"a,",e):MsgBox a:Loop While Not Cbool(Instr(a,"zun,zun,zun,doko,")):MsgBox"ki-yo-shi!" 
deleted 140 characters in body
Source Link

VBScript, 132201 bytes

Do:Randomize():r=Roundz="zun,":d="doko,":Do:a=e:Do:a=a&Array(z,d)(Round(Rnd()):l=Len(x) If:Loop l<5While Then x=x&r Else x=RightUBound(xSplit(a,l-1",")&r End If )<5:MsgBox(a):Loop While x<>"00001"Not Cbool(Instr(a,Replace(Space(4)," ", "zun,")&"doko,")):MsgBox"ki-yo-shi!" 

Here's a pretty straight-forward attempt in which every 0 is a "zun" and every 1 is a "doko", too bad that VBScript uses the same seed to generate random numbers and to avoid that you have to Randomize() the seed!

VBScript, 132 bytes

Do:Randomize():r=Round(Rnd()):l=Len(x) If l<5 Then x=x&r Else x=Right(x,l-1)&r End If Loop While x<>"00001":MsgBox"ki-yo-shi!" 

Here's a pretty straight-forward attempt in which every 0 is a "zun" and every 1 is a "doko", too bad that VBScript uses the same seed to generate random numbers and to avoid that you have to Randomize() the seed!

VBScript, 201 bytes

Randomize():z="zun,":d="doko,":Do:a=e:Do:a=a&Array(z,d)(Round(Rnd())):Loop While UBound(Split(a,","))<5:MsgBox(a):Loop While Not Cbool(Instr(a,Replace(Space(4)," ", "zun,")&"doko,")):MsgBox"ki-yo-shi!" 
Fixed Header
Source Link

VBScript, 132 bytes

Do:Randomize():r=Round(Rnd()):l=Len(x) If l<5 Then x=x&r Else x=Right(x,l-1)&r End If Loop While x<>"00001":MsgBox"ki-yo-shi!" 

Here's a pretty straight-forward attempt in which every 0 is a "zun" and every 1 is a "doko", too bad that VBScript uses the same seed to generate random numbers and to avoid that you have to Randomize() the seed!

Do:Randomize():r=Round(Rnd()):l=Len(x) If l<5 Then x=x&r Else x=Right(x,l-1)&r End If Loop While x<>"00001":MsgBox"ki-yo-shi!" 

Here's a pretty straight-forward attempt in which every 0 is a "zun" and every 1 is a "doko", too bad that VBScript uses the same seed to generate random numbers and to avoid that you have to Randomize() the seed!

VBScript, 132 bytes

Do:Randomize():r=Round(Rnd()):l=Len(x) If l<5 Then x=x&r Else x=Right(x,l-1)&r End If Loop While x<>"00001":MsgBox"ki-yo-shi!" 

Here's a pretty straight-forward attempt in which every 0 is a "zun" and every 1 is a "doko", too bad that VBScript uses the same seed to generate random numbers and to avoid that you have to Randomize() the seed!

Source Link
Loading