#include <Arduino.h>
#include "Class.h"
#include <FastLED.h>
//Cible : uint8_t pin, int score, String annimation[], String musique[], int minTouch
String animationClone[] = {"clone1", "clon2", "clown3"};
Cible clone = Cible(A0, 10, animationClone, nullptr, 30);
Cible r2 = Cible(A1, 50, animationClone, nullptr, 40);
Cible ciblesT[] = {clone, r2};
Game game = Game(ciblesT, 2, 0);
void setup() {
Serial.begin(115200);
// put your setup code here, to run once:
}
void loop() {
game.update();
EVERY_N_MILLISECONDS(40)
Serial.println(game.score);
}