Thread:IonCheerfulViper/@comment-26898013-20151211001915/@comment-26672387-20151212183832

Cool :D If you modify it to this to the ability to lose the game fully works and thus it qualifies as a game:

/*Move around with the arrow keys, let's see if you can get it >:D*/

var xpos = 14; var ypos = 301; var speed = 5; var jump = -10; var die = 0;

draw = function { image(getImage("space/background"), 0, 0, 400, 400);

for (var x = 0; x < 400; x += 100) { image(getImage("cute/DirtBlock"), x, 300); }   fill(0, 153, 255); image(getImage( "avatars/old-spice-man"), xpos, ypos, 50, 50); if (keyIsPressed && keyCode === RIGHT) { if (die === 0) { xpos += speed; }   }    if (keyIsPressed && keyCode === LEFT) { if (die === 0) { xpos -= speed; }   }    if (keyIsPressed && keyCode === UP) { if (die === 0) { ypos += jump; }   }   if (keyIsPressed && keyCode === DOWN) { if (die === 0) { ypos += speed; }  }    if (xpos > 350) { xpos = 350; }

if (xpos < 0) { xpos = 0; }

if (ypos > 300) { ypos = 300; } if ( ypos <= -50) { die = 1; textSize(60); fill(0, 0, 0); text("You died", 84, 100); text("Score: 000", 60, 157); textSize(30); text("Click 'Restart' to play again", 22, 200); } };