Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2017/09/12 18:43:55

MixJuice GET URL : kidspod.club/mj/288

025

  • No registered tag exist.

SOURCE CODE

var k;
var r;
var n = new Array(6);
n[0] = 115;
n[1] = 100;
n[2] = 102;
n[3] = 106;
n[4] = 107;
n[5] = 108;
while(1){
  lc(10, 12);
  log("S D F J K L");
  r = rnd(6);
  lc(10+(r*2), 11); 
  log("*");
  while(k != n[r]){
    k = inkey();
    sleep(50);
  }
  cls();
}

COMMENT