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/27 17:39:12

MixJuice GET URL : kidspod.club/mj/373

071

  • No registered tag exist.

SOURCE CODE

var my;
var key;
my = 23;
while(1){
 cls();
 key = inkey();
 if (key == 32){
  my = my - 1;
 }
 else{
  my = my + 1;
 }
 if(my > 23){
   my = 23;
 }
 if (my < 0){
  my = 0;
 }
 lc(15, my);
 log(chr(0xF1));
 sleep(100);
}

COMMENT