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/06 19:48:29

MixJuice GET URL : kidspod.club/mj/276

022

  • No registered tag exist.

SOURCE CODE

var c = 0;
var x = 0;
while (x < 32){
  cls();
  if (inkey()==32){
    c = c + 1;
  }
  lc(x, 10);
  if (c % 2 ==1){
    log("|");
  }
  else{
    log("^");
  }
  while(x > 0){
    lc(x, 11);
    log("*");
    x = x - 1; 
  }
  x = c / 5;
  sleep(50);
}
cls();
lc(13, 11);
log("GOAL!");

COMMENT