Processing Penis Maze For Kids

You know, for kids.

 

So I’ve created a code for a fun little game using processing, where children can use a mouse to enter this extraordinarily primitive maze. While brief, the game reflects the exciting possibilities inherent in Processing.

 

The game is a role-play format, the protagonist a series of ellipses that form a phallus. The goal of the maze is to either turn left or right utilizing the mouse function, one of these directions leading to the prize–an identical but stationary phallus.

 

The game is refreshingly short. Scroll to the bottom for the code if you care to play.

Screen Shot 2014-10-28 at 1.55.29 PM

Screen Shot 2014-10-28 at 1.55.52 PM

Screen Shot 2014-10-28 at 1.56.02 PM

Screen Shot 2014-10-28 at 1.55.44 PM

 

 

void setup(){
size(800,800);
}
void draw(){

background(200,0,145);
fill(100,12,42);
stroke(200);
line(30, 20, 400, 20);
line(550, 20, 700, 20);
line(700, 20, 700, 350);
line(200, 200, 550, 200);
line(400, 20, 400, 200);
line(30, 20, 30, 400);
line(30, 400, 150, 400);
line(300, 200, 300, 500);
line(300, 500, 500, 500);
line(500, 350, 780, 350);
line(300, 500, 500, 500);
line(780, 350, 780, 770);
line(650, 550, 650, 770);
line(650, 770, 780, 770);
line(450, 650, 450, 770);
line(30, 770, 450, 770);
line(30, 20, 30, 770);
line(30, 600, 250, 600);

 

noStroke();
ellipse(mouseX+16,mouseY-50,30,100);
ellipse(mouseX,mouseY,42,42);
ellipse(mouseX+35,mouseY,42,42);
ellipse(mouseX+16,mouseY-100,27,40);

ellipse(500, 100,30,100);
ellipse(515,150,42,42);
ellipse(485,150,42,42);
ellipse(500,50,27,40);
}

Leave a reply