float a;
float b;
float aist = 946;
float bist = 5;
int c;
float curA;
float sizible;
float k = 7;
float lines;
boolean trig;
float attemps;
float nok;
float first;
float next;
void setup() {
frameRate(800);
background(0, 50, 0);
fill(0, 254, 0);
a=aist;
b=bist;
a=abs(a);
b=abs(b);
size(640, 480);
if(a>b) {
sizible = a/500;
}
if(b>a) {
sizible = b/500;
}
}
void draw() {
if(c >= 10000) {
fill(255, 0, 0);
text("ОШИБКА",60, 120);
}
if(a==0|b==0) {
fill(255, 0, 0);
text("ОШИБКА",60, 120);
}
if(c <= 10000) {
strok
...
Читать дальше »