<script>
letterarray = new Array(" ",".",",","A","B","C","Ç","D","E","F","G","Ğ","H","I","İ","J","K","L","M","N","O","Ö","P","Q","R","S","Ş","T","U","Ü","V","W","X","Y","Z");
first = 0;
second = 0;
third = 0;
fourth = 0;
fifth = 0;
sixth = 0;
seventh = 0;
eigth = 0;
ninth = 0;
tenth = 0;
eleven = 0;
twelve = 0;
thirteen = 0;
fourteen = 0;
fifteen = 0;
sixteen = 0;
seventeen = 0;
eighteen = 0;
// BU SATIRLARDA ÇIKACAK OLAN KELİMEYİ BELİRTİYORUZ.
// 18 KARAKTERİ GEÇMEYECEK..
letter1 = "J";
letter2 = "A";
letter3 = "V";
letter4 = "A";
letter5 = "S";
letter6 = "A";
letter7 = "Y";
letter8 = "F";
letter9 = "A";
letter10 = "S";
letter11 = "I";
letter12 = " ";
letter13 = ".";
letter14 = " ";
letter15 = "C";
letter16 = "O";
letter17 = "M";
letter18 = " ";
// DÜZENLEME BİTTİ.
function letters()
{
document.MatrixForm.texthere.value = letterarray[first] + letterarray[second] + letterarray[third] + letterarray[fourth] + letterarray[fifth] + letterarray[sixth] + letterarray[seventh] + letterarray[eigth] + letterarray[ninth] + letterarray[tenth] + letterarray[eleven] + letterarray[twelve] + letterarray[thirteen] + letterarray[fourteen] + letterarray[fifteen] + letterarray[sixteen] + letterarray[seventeen] + letterarray[eighteen];
if (letterarray[first] != letter1)
{
first = Math.floor(35 * Math.random());
second = Math.floor(35 * Math.random());
third = Math.floor(35 * Math.random());
fourth = Math.floor(35 * Math.random());
fifth = Math.floor(35 * Math.random());
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] != letter2))
{
second = Math.floor(35 * Math.random());
third = Math.floor(35 * Math.random());
fourth = Math.floor(35 * Math.random());
fifth = Math.floor(35 * Math.random());
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] != letter3))
{
third = Math.floor(35 * Math.random());
fourth = Math.floor(35 * Math.random());
fifth = Math.floor(35 * Math.random());
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] != letter4))
{
fourth = Math.floor(35 * Math.random());
fifth = Math.floor(35 * Math.random());
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] != letter5))
{
fifth = Math.floor(35 * Math.random());
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] != letter6))
{
sixth = Math.floor(35 * Math.random());
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] != letter7))
{
seventh = Math.floor(35 * Math.random());
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] != letter8))
{
eigth = Math.floor(35 * Math.random());
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] != letter9))
{
ninth = Math.floor(35 * Math.random());
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] != letter10))
{
tenth = Math.floor(35 * Math.random());
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] != letter11))
{
eleven = Math.floor(35 * Math.random());
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] != letter12))
{
twelve = Math.floor(35 * Math.random());
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] != letter13))
{
thirteen = Math.floor(35 * Math.random());
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] == letter13) & (letterarray[fourteen] != letter14))
{
fourteen = Math.floor(35 * Math.random());
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] == letter13) & (letterarray[fourteen] == letter14) & (letterarray[fifteen] != letter15))
{
fifteen = Math.floor(35 * Math.random());
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] == letter13) & (letterarray[fourteen] == letter14) & (letterarray[fifteen] == letter15) & (letterarray[sixteen] != letter16))
{
sixteen = Math.floor(35 * Math.random());
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] == letter13) & (letterarray[fourteen] == letter14) & (letterarray[fifteen] == letter15) & (letterarray[sixteen] == letter16) & (letterarray[seventeen] != letter17))
{
seventeen = Math.floor(35 * Math.random());
eighteen = Math.floor(35 * Math.random());
}
else if ((letterarray[first] == letter1) & (letterarray[second] == letter2) & (letterarray[third] == letter3) & (letterarray[fourth] == letter4) & (letterarray[fifth] == letter5) & (letterarray[sixth] == letter6) & (letterarray[seventh] == letter7) & (letterarray[eigth] == letter8) & (letterarray[ninth] == letter9) & (letterarray[tenth] == letter10) & (letterarray[eleven] == letter11) & (letterarray[twelve] == letter12) & (letterarray[thirteen] == letter13) & (letterarray[fourteen] == letter14) & (letterarray[fifteen] == letter15) & (letterarray[sixteen] == letter16) & (letterarray[seventeen] == letter17) & (letterarray[eighteen] != letter18))
{
eighteen = Math.floor(35 * Math.random());
}
keepgoing = setTimeout("letters()", 20);
}
</script>
<style>
.greenbg
{
border: black;
background-color: darkgreen;
color: black;
cursor: default;
}
.blackbg
{
border: black;
background-color: black;
color: darkgreen;
cursor: default;
font-family:courier new, courier, lucida console;
font-size:27px;
font-weight:bold;
text-align:center;
}
</style>