var uneVariable;

function setup() {
	createCanvas(windowWidth, windowHeight);
	background(100);
	frameRate(2);

}

function draw() {
	background(220,120,150); // efface l'arrière-plan
	uneVariable = (round(random(5))); // génère un nombre au hasard entre 0 et 3
	fill(240,200,210);
	textSize(64);
	switch(uneVariable){
		case 0:
			text("ZÉRO!",200,200);
			break;
		case 1:
			text("UN!",200, 200);
			break;
		case 2:
			text("DEUX!",200, 200);
			break;
		case 3: 
			text("TROIS!",200,200);
			break;
		default:
			text("AU CAS-OÙ",200,200);	
	}
}