long answer;
int guess = 3;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
randomSeed(analogRead(0));
answer = random(10);
Serial.println(answer);
}
void loop() {
// put your main code here, to run repeatedly:
delay(300);
if (guess == answer){
Serial.println("correct");
}
else{
Serial.println("try again");
}
}