game etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
game etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

5 Mayıs 2025 Pazartesi

Akbaba Game

https://drive.google.com/file/d/15LcJ0Ke8D_S7YTw0YkJgy3-cqR04_fvw/view?usp=drivesdk

<html>
<head meta charset="utf-8">
 <title>Akbaba Game</title>
 <style>
  .p1{font-size:18px;}
  .button1 {
  border:none;
  padding:10px 15px;
  font-size:10px;
  margin: 10px 10px;
  }
 </style>
 <script language="JavaScript" type="text/javascript">
<!-- newEdit:dudukadinshoppingdistrict@gmail.com -->
  var s=6;
  var b=0;
 </script>
</head>
<body style= "background-color:lightblue" ; >
 <p class"p p1">PUSH THE START BUTTON,</p>
 <p class"p p1">FOLLOW WHITH DON'T CRASH THE BLOKS,</p>
 <p class"p p1">IF CRASH THE BLOKS GAME OVER.</p>
 <a href='akbabaGame.html'>REFRESH</a>
 <table align="center" >
  <tr>
   <td align="center" bgcolor="white">
    <canvas width="396" height="96" id="game" style="border:0px solid black;"></canvas></td>

 <script language="JavaScript" type="text/javascript">

  var akbaba=[0,0,0,0,1,0,1,0,0,1,1,1,0,1,0,1,0,1,0,0,1,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0];

  var kutular=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,1,0,1,0,0,0,0,0,1,0,0,1,1,1,1,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,0,1,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,1,1,0,0,0,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,0,0,1,1,0,1,0,1,0,0,1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];

  var barikat=[1,1,0,1,1,0];

  var Dugum ={
   yedek:[],
   aYedek:[],
   bYedek:[],
   sonraki:Dugum
  };

  var c = document.getElementById("game");
  var ctx=c.getContext("2d");
  ctx.font="10px Arial";
  ctx.clearRect(0,0,396,96); 

  for(var k=0;k<792;k++){ Dugum.yedek[k]=" "; }

  _Kontrol();

  function aSonraki(){
   _aAktar();
   _Kontrol();
   __Kontrol();
   tBKontrol();
   kSKaydir();
   b_Aktar();
   a_Aktar();
  }

  function kKutu(k){
   var deg;
   deg=parseInt(k);
   var m=0;
   m=kutular[deg];
   if(m==0){deg=0;}
   if(m!=0){deg=1;}
   return deg;
  }

  function bKontrol(t){
   var r;
   var n;
   var k;
   n=parseInt(t);
   r=barikat[n];
   if(r==0){k=0;}
   if(r==1){k=1;}
   return k;
  }

  function aKontrol(t){
   var r;
   var n;
   var k;
   n=parseInt(t);
   r=akbaba[n];
   if(r==0){k=0;}
   if(r==1){k=1;}
   return k;
  }

  function tBKontrol(){
   var d;
   var bSatir;
   var mod;
   d=10;
   bSatir=0;
   mod=b%792;
   if(kKutu(mod)){
    for(var j=0;j<3;j++){ 
     for(var l=0;l<2;l++){ 
      kd=(j+d)*66-l-2;
      if(bKontrol(bSatir)){str="BB";}
      if(!bKontrol(bSatir)){str="";}
      Dugum.yedek[kd]=str;
      bSatir+=1;
     }
    }
   }

   b+=1;
   if(b>792){b=0;}

  }

  function _Kontrol(){
   var t;
   var t0;
   var kd;
   var str;
   t0=s;
   t=0;
   for(var i=0;i<6;i++){ 
    for(var k=0;k<6;k++){ 
     kd=(i+t0)*66+k;
     if(aKontrol(t)){
      Dugum.yedek[kd]="VV";
     }
    t+=1;
    }
   }
  }

  function __Kontrol(){
   var t;
   var t0;
   var kd;
   var str;
   for(var i=0;i<12;i++){ 
    for(var k=0;k<66;k++){ 
     kd=i*66+k;
     str=Dugum.yedek[kd];
     Dugum.yedek[kd]=str;
     if(str!="VV"){
      if(str!="BB"){
       Dugum.yedek[kd]=" ";
      }
     }
    }
   }
  }

  function _aAktar(){

   var kd;
   var str="";
   for(var k=0;k<12;k++){ 
    for(var i=0;i<66;i++){ 
     kd=k*66+i;
     str=Dugum.aYedek[kd];
     Dugum.aYedek[kd]=str;
     Dugum.yedek[kd]=str;
     if(str=="VV"){ Dugum.yedek[kd]=" "; }
    }
   }
  }

  function a_Aktar(){
 
   var kd;
   var str="";
   for(var k=0;k<12;k++){ 
    for(var i=0;i<66;i++){ 
     kd=k*66+i;
     str=Dugum.yedek[kd];
     Dugum.yedek[kd]=str;
     Dugum.aYedek[kd]=str;
    }
   }
  }

  function b_Aktar(){
 
   var kd;
   var str="";
   for(var k=0;k<12;k++){ 
    for(var i=0;i<66;i++){ 
     kd=k*66+i;
     str=Dugum.yedek[kd];
     Dugum.bYedek[kd]=str;
     Dugum.yedek[kd]=str;
    }
   }
  }

  function abAktar(){

   for(var k=0;k<792;k++){ 
    Dugum.yedek[k]="";
    Dugum.aYedek[k]="";
    Dugum.bYedek[k]="";
    b=0;
   }
  }

  function kSKaydir(){
  var str;
  var kd;
  var toplam;
  var mod;
  var ilk="";
  var son="";
  var sonraki;
  for(var k=0;k<12;k++){ 
   for(var i=0;i<66;i++){ 
    kd=k*66+i;
    mod=(kd+1)%66;
    if(!mod){
     son=Dugum.yedek[kd-65];
     Dugum.yedek[kd-65]=son;
     if(son!="VV"){
      sonraki=Dugum.yedek[kd-65];
      Dugum.yedek[kd]=sonraki;
      Dugum.yedek[kd-65]=sonraki;
    }
    if(son=="VV"){
     Dugum.yedek[kd]=" ";
    }
    if(son=="BB"){
     Dugum.yedek[kd]=" ";
     Dugum.yedek[kd-65]=" ";
    }
   }
   if(mod){
    son=Dugum.yedek[kd+1];
    ilk=Dugum.yedek[kd];
    Dugum.yedek[kd+1]=son;
    Dugum.yedek[kd]=ilk;
     if(ilk!="VV"){
      if(son!="VV"){
       str=Dugum.yedek[kd+1];
       Dugum.yedek[kd]=str;
      }
       if(son=="VV"){
        sonraki=Dugum.yedek[kd+1];
        str=Dugum.yedek[kd];
        Dugum.yedek[kd]=str;
        Dugum.yedek[kd+1]=sonraki;
       }
      }
      if(ilk=="VV"){
       if(son!="VV"){
        sonraki=Dugum.yedek[kd+1];
        str=Dugum.yedek[kd];
        Dugum.yedek[kd+1]=sonraki;
        Dugum.yedek[kd]=str;
        }
        if(son=="VV"){
         str=Dugum.yedek[kd+1];
         Dugum.yedek[kd]=str;
         Dugum.yedek[kd+1]=str;
        }
        if(son=="BB"){
         abAktar();
       }
      }
     }
    }
   }
  }

  function sYazdir(){
   setInterval(yazdir, 500);
  }

  function yukari(){
   if(s!=-1){
   s-=1;
   }
  }

  function asagi(){
   if(s!=6){
   s+=1;
   }
  }

  function yazdir(){

  ctx.clearRect(0,0,396,96); 
  aSonraki();
  var str="";
  var h=0;
  for(var z=8;z<97;z+=8){ 
   for(var v=0;v<396;v+=6){  
    str=""+Dugum.bYedek[h];
    ctx.fillText(str,v,z,6,8); 
    h+=1;
    }
   }
  }
 </script>

   <td align="center" >
   <button type="button" class="button button1" onclick="sYazdir()" >START </button>
   </td>
  </tr>
  <tr>
   <td align="center">
   <button type="button" class="button button1" onclick="yukari()" >UP </button>
   <button type="button" class="button button1" onclick="asagi()" >DOWN </button>
   </td>
   <td align="center" >
   </td>
  </tr>
 </table>
</body>
</html>
Video Link:Watch Video

Edit by: dudukadinshoppingdistrict@gmail.com

You can also send the articles to dudukadinshoppingdistrict@gmail.com that you deem important

4 Mayıs 2025 Pazar

2705 Game

It's a kind of numbers game. I probably tired my third website tired more than others. I don't know why but I felt the need to complete it. The source code is below.

https://drive.google.com/file/d/151nZOZTEneC8dznYrp_0_uglm_UZRDrH/view?usp=drivesdk
<html>
<head>
 <meta charset="utf-8"/>
 <title>2705 Game</title>
 <style>
  .p1{font-size:12px;}
  .button1 {
   border:none;
   padding:20px 30px;
   font-size:12px;
   margin: 5px 5px;
  }
 </style>
 </head>
 <body style= "background-color:lightblue" ;>
 <p class="p p1">Move the empty cell Up, right, left is sum.Down is subtraction </p;>
 <p class="p p1">Empty cell push the cells. </p;>
 <p class="p p1">if push the cells to bloks game over. </p>
 <p class="p p1">if any cells 2705 game over you win. </p>
 <a href='2705Oyunu.html'>Yenile </a>
 <table align="center" border=0>
  <tr><td></td><td>skor:<p id="skor"></p></td><td></td></tr>
  <tr><td></td><td bgcolor=white><canvas width="400" height="400" id="game" style="border:0px solid black;"></canvas></td><td></td></tr>
  <tr><td></td><td>notice:<p id="uyari"></p></td><td></td></tr>
<--! dudukadinshoppingdistrict@gmail.com!-->
  <script language="JavaScript" type="text/javascript">

  var kutular =
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,0,0,0,1,0,1,1,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,1,1,0,1,1,0,0,1,0,1,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,1,0,1,1,0,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
//array definition
  var Dugum={
   d:[],
   Sonraki:Dugum
  };
//dot definition
  var math=[];
  var ds=[];
  var r;
  var s;
  var c = document.getElementById("game");
  var ctx=c.getContext("2d");
  ctx.font="18px Arial";
//definition add values
  function kKutu(k){
   var deg;
   deg=parseInt(k);
   var m=0;
   m=kutular[deg];
   if(m==0){ deg=0; }
   if(m!=0){ deg=1; }
  return deg;
  }
//boolen that there is kutular 0 or 1
  function kHesap(){
   var max=0;
   var min=1;
   var toplam=0;
   var sira=0;
   var ekle=0;
   var deger=0;
   for(var i=0;i<400;i++){
    toplam+=1;
    max=toplam;
    deger=max-min;
    if(!kKutu(i)){
     if(deger>0){
      ekle=Math.floor(Math.random()*(max-min))+min;
      Dugum.d[sira]=ekle;
      sira+=1;
     }
    }
   if(kKutu(i)){ min=max; }
   }
  }
//add to dot array numbers
  function hesap(){
   var t;
   kHesap();
   var sox;
    for(var k=0;k<400;k++){
     sox=Math.floor(Math.random()*299)+0;
     t=Dugum.d[sox];
     if(!kKutu(k)){
      ds[k]=t;
      math[k]=""+t;
     }
     if(kKutu(k)){
      ds[k]=0;
      math[k]="HHHHHHH";
     }
    }
   sox=Math.floor(Math.random()*299)+0;
   t=Dugum.d[sox];
   math[t]="[     ]";
   ds[t]=0;
   r=t;
   sYaz(t);
  }
//add null cell to dot array and write skor
  function sKontrol(k){ 
   var t;
   var l=0;
   t=ds[k];
   if(t==0){
    ctx.clearRect(0,0,400,400); 
    for(var i=0;i<400;i++){
     math[i]="";
     ds[i]=0; 
    }
    l=1;
   }
  return l;
  }
//if array is 0 all value return to null
  function kKontrol(){ 
  var t;
  var l=0;
  t=ds[0];
  if(t!=0){
    for(var i=0;i<400;i++){
     l=ds[i];
     if(l==2705){
      for(var k=0;k<400;k++){
       math[k]="";
       ds[k]=0; 
      }
     l=i;
     }
    }
   }
  return l;
  }
//if any matris value is 2705 return true
  function silme(){ 
   var h=0;
   var k;
   for(var l=20;l<402;l+=18){  
    for(var g=2;g<402;g+=18) {  
     k=""+math[h];
     ctx.fillText(k,g,l,18,18);
     h+=1;
     g+=2;
    }
    l+=2;
   }
  }
//rewrite
  hesap();
  silme();
//begin program
  function sYukari(k){
   var z;
   z=k;
   if(z<20){ z=400+k; } 
   return z;
  }
//calculate that up
  function sAsagi(k){
   var z;
   z=k;
   if(z>379){ z=k-400; }
   return z; 
  }
//calculate that down
  function sSaga(k){
   var i;
   var z=0;
   var w;
   var x;
   i=parseInt(k);
   z=i;
   x=i;
   if(x==399){ z=i-400; }
   w=(i+1)%20;
   if(!w){ z=i-20; }
   return z; 
  }
//calculate that right
  function sSola(k){
   var i;
   var z=0;
   var w;
   var x;
   i=parseInt(k);
   z=i;
   x=i;
   if(x==0){ z=i+400; }
   w=i%20;
   if(!w){ z=i+20; }
   return z; 
  }
//calculate that left
  function sYaz(k){ 
   var y;
   var l;
   y=parseInt(k);
   l=document.getElementById("skor");
   l.innerHTML=y;
  }
//shown skor
  function nYaz(k){ 
   var str;
   var y;
   var l;
   str=" was bloke.";
   y=parseInt(k);
   l=document.getElementById("notice");
   l.innerHTML=y+str;
  }
//shown end reason note
  function mathEkle(s,g,l,y,toplam){
   math[s]=""+toplam;
   math[g]="[     ]";
   math[l]=""+y;
   ds[l]=y;
   ds[g]=0;
   ds[s]=toplam;
   ctx.clearRect(0,0,400,400);       
  }
//to string and to copy function
  function yukariK(){
   var y;
   var t;
   var k;
   var i;
   var l;
   var g;
   var toplam;
   s=r;
   l=r;
   k=sYukari(s);
   k-=20;
   y=ds[k];
   s=k;
   i=k;
   if(sKontrol(k)){ nYaz(k); }
   k=sYukari(s);
   k-=20;
   t=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   toplam=y+t;
   g=k;
   k=sYukari(r);
   r=k;
   r-=20;
   mathEkle(g,i,l,y,toplam);
   kKontrol();
   silme();
   sYaz(t); 
  }
//like up
  function asagiK(){
   var y;
   var t;
   var k;
   var i;
   var l;
   var g;
   var fark;
   l=r;
   s=r;
   k=sAsagi(s);
   k+=20;
   y=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   s=k;
   i=k;
   k=sAsagi(s);
   k+=20;
   t=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   fark=t-y;
   g=k;
   k=sAsagi(r);
   r=k;
   r+=20;
   mathEkle(g,i,l,y,fark);
   kKontrol();
   silme();
   sYaz(t); 
  }
//like down
  function sagaK(){
   var y;
   var t;
   var k;
   var l;
   var g;
   var i;
   var toplam;
   l=r;
   k=sSaga(l);
   k+=1;
   y=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   s=k;
   i=k;
   k=sSaga(s);
   k+=1;
   t=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   toplam=y+t;
   g=k;
   k=sSaga(r);
   r=k;
   r+=1;
   mathEkle(g,i,l,y,toplam);
   kKontrol();
   silme();
   sYaz(t); 
  }
//like right
  function solaK(){
   var y;
   var t;
   var k;
   var l;
   var g;
   var i;
   var toplam;
   l=r;
   k=sSola(l);
   k-=1;
   y=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   s=k;
   i=k;
   k=sSola(s);
   k-=1;
   t=ds[k];
   if(sKontrol(k)){ nYaz(k); }
   toplam=y+t;
   g=k;
   k=sSola(r);
   r=k;
   r-=1;
   mathEkle(g,i,l,y,toplam);
   kKontrol();
   silme();
   sYaz(t); 
  }
//like left end of script
  </script>
   
  <tr><td></td><td align="center"><button type="button" class="button button1" onclick="yukariK()" >UP</button></td><td></td></tr>
  <tr><td align="center"><button type="button" class="button button1" onclick="solaK()" >LEFT</button></td><td></td><td align="center"><button type="button" class="button button1" onclick="sagaK()" >RIGHT</button></td></tr>
  <tr><td></td><td align="center"><button type="button" class="button button1" onclick="asagiK()" >DOWN</button></td><td></td></tr>
  </table>
  <br>
</body>
</html>

Video Link:Watch Video

Edit:dudukadinshoppingdistrict@gmail.com

You can also send the articles to dudukadinshoppingdistrict@gmail.com that you deem important.

27 Haziran 2024 Perşembe

Memory Game

One busy day, 15 minutes before the end of working hours, someone came up at a bank. I quickly went to the bank, and as the bank door was opening, the security guard with the phone in his hand said to me: "Look, he made a game." While I was quickly taking the order for transactions, I said: "We'll do it, am I going to hurt you?". I wrote this game one year after this dialogue. Of course, I still have no idea what that security guard meant for what purpose... The software can be copied, it can be shown as an example. It can be changed as long as it is not referenced. (After changing,if you can say wow I got this from here...) You can request the advanced software otherwise inform aganis from the e-mail at the end of the page.


https://drive.google.com/file/d/1Sgg3IofMnjI5FwdhFkZzDjbU9Zz9EvL8/view?usp=drive_link


 

<html> 
<head meta charset="utf-8">
 <title>Hafiza Oyunu</title>
 <script> 
<!-- newEdit:dudukadinshoppingdistrict@gmail.com --> 
  var kusresimleri; 
  var BTNPREFIX = 'btn'; 
  var secim = -1; 
  const resimleri = [ "SAHIN" , "AKBABA" , "SERCE" , "KERKENEZ" , "KARGA" , "BALIKCIL" , "ATMACA" , "DOGAN" , "PUHU" , "BAYKUS" , "AGACKAKAN" , "CIGIRTKAN" , "KARTAL" , "TAVUK" , "GUGUK" , "HOROZ" , "PAPAGAN" , "SAKA" , "MUHABBET" , "ARIKUSU" , "DEVEKUSU" , "CALIKUSU" , "BULBUL" , "LEYLEK" , "PELIKAN" , "SAKSAGAN" , "KIRLANGIC" , "CIVGIN" , "ORDEK" , "SIGIRCIK" ,"CIVGIN" , "TAVUS" , "TINAMU" , "KASUARI" , "EMU" , "KIVI" , "KAZ" , "SAKARCA" , "SUNA" , "ANGIT" , "CIKRIKCIN" , "CAMURCUN" , "FIYU" , "KILKUYRUK" , "PATEKESI" , "ELMABAS" , "PATKA" , "PUFLA" , "ALTIN" , "TARAK" , "MEGAPOT" , "MALEO" , "CACALAKA" , "GUAN" , "HOKKO" , "KOLIN" , "TORKO" , "KEKLIK" , "ARGUS" , "SULUN" , "BILDIRCIN" ];
//create resimleri array

  const boskutular = [ "0" , "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "10" , "11" , "12" , "13" , "17" , "23" , "25" , "26" , "29" , "30" , "31" , "32" , "33" , "36" , "38" , "39" , "42" , "44" , "46" , "49" , "51" , "52" , "53" , "54" , "55" , "57" , "59" , "60" , "61" , "62" , "64" , "65" , "68" , "69" , "70" , "71" , "72" , "75" , "76" , "77" , "78" , "81" , "82" , "83" , "84" , "85" , "86" , "87" , "88" , "89" , "90" , "91" , "96" , "97" , "103" , "104" , "109" , "110" , "114" , "116" , "117" , "123" , "125" , "127" , "129" , "130" , "131" , "137" , "139" , "140" , "142" , "143" , "144" , "145" , "146" , "147" , "148" , "149" , "150" , "151" , "152" , "153" , "154" , "155" ];
//creat bos kutular array

  function diziOlustur(buyukluk) {
   buyukluk = parseInt(buyukluk);
//describe buyukluk 
   var len = 62;
   len=parseInt(len); 
//describe len lenght
   console.log(buyukluk);
   kusresimleri = new Array(len);
//create new memory array
   for (var i = 0; i < len / 2; i++){
    kusresimleri[i] = i;
    kusresimleri[(len / 2) + i] = i;
   }
//create array lenght
   console.log(kusresimleri);
   kusresimleri=karistir(kusresimleri);
   console.log(kusresimleri);
//return random value
  }
  function cevir(idx){
   idx = parseInt(idx);
// describe idx
   console.log(idx);
//rememorized
   if (secim < 0) {
    var btn1 = document.getElementById(BTNPREFIX + idx);
//create button that value less than zero
    secim = idx;
//create value on secim
    btn1.innerText = kusresimleri[idx]+" "+resimleri[kusresimleri[idx]];
//wrote on button
    } else {
     btn1 = document.getElementById(BTNPREFIX + secim );
//take value on button
     var btn2 = document.getElementById(BTNPREFIX + idx );
//take button value
     btn2.innerText = kusresimleri[idx]+" "+resimleri[kusresimleri[idx]];
//wrote on button
    if (kusresimleri[idx] == kusresimleri[secim]) {
// is taked value,idetical value
    btn1.parentElement.removeChild(btn1);
    btn2.parentElement.removeChild(btn2);
//erase buttons same value
    } else {
//not, rewrite buttons' timeout
     setTimeout(function () {
      btn1.innerText = "___X___";
      btn2.innerText = "___X___";
     }, 2222)
//than change buttons text
    }
   secim = -1;
//repeat procces
   }
  }
  function karistir(array) {
//call back array
   var c = array.length, t, r;
//define t,r,c
   while (0 !== c) {
//count end to first
    r = Math.floor(Math.random() * c);
// selection index by random, less than value c
    c -= 1;
    t = array[c];
    array[c] = array[r];
    array[r] = t;
// swap with index
   }
  return array
  }
//call back array
  function bosdolu(say){
   say = parseInt(say);
   for (var k=0; k < 94 ; k++){
    var sayi=boskutular[k];
    sayi=parseInt(sayi);
    var sayilar=0;
    if(sayi == say){
     break;
    }else{
     sayilar=sayi;
    }
   }
   say=sayilar;
   return say;
  }
//check on beginning matrises that empty value
  function hazirla(buyukluk) {
   buyukluk = parseInt(buyukluk);
   document.clear();
   document.body.innerHTML = '<h3>Kutulari cifter cifter acin!<br>Ayni anlamlar silinir.<br>Cift acilmis kutunun kapanmasi yaklasik 2 saniyedir.<br>Ayni kutuya ardarda iki defa basarsaniz oyun biter.</h3>';
   diziOlustur(buyukluk);
//create dizi that buyukluk value
   var eleman = document.getElementsByTagName('body')[0];
   var tablo = document.createElement('table');
   tablo.style.width = '100%';
   tablo.setAttribute('border', '0');
   var tabloelemani = document.createElement('tbody');
//create tables factor
   var xc = buyukluk;
   var yc = buyukluk + 1;
// Single x Double = Double
   var p = 0;
   var m = 0;
   for (var x = 0; x < xc ; x++) {
    var sutun = document.createElement('tr');
// 1 colon
    for (var y = 0; y < yc ; y++){
     var z=((x*13)+y);
// define matris that long z
     var yazilankus=bosdolu(z);
// check on is there yazilankus
     yazilankus=parseInt(yazilankus); 
      if(yazilankus==0) { 
       var satir = document.createElement('td');
       satir.appendChild(document.createTextNode('\u0020')); 
       satir.innerHTML = '<button type="button" id=""><br><br><h3>________</h3><br></button>';
       sutun.appendChild(satir);
       p++;
      }else{
       var satir = document.createElement('td');
       satir.appendChild(document.createTextNode('\u0020'));
       satir.innerHTML = '<button type="button" id="' + BTNPREFIX + m + '" onclick="cevir(' + m + ');"><br><br><h3>____X____</h3><br></button>';
       sutun.appendChild(satir);
       p++;
       m++;
      }
// loop yazilankus
     }
     tabloelemani.appendChild(sutun);
//add line on tbdy
    }
    tablo.appendChild(tabloelemani);
//add colon on tbl
    eleman.appendChild(tablo);
// add table on body object
//added
   }
</script>
</head>
<body>
 <script>
   hazirla(12);
 </script>
</body>
</html>

Video Link:Watch Video

Edit:dudukadinshoppingdistrict@gmail.com

You can also send the articles to dudukadinshoppingdistrict@gmail.com that you deem important.

Restless A Mole Game

Can you really find true strict? Emty spaces are building's area, whackies are in emty spaces. And this probably last JavaScript game. B...