 int redPins[9] = {0,2,4,6,8,10,12,14,16};
 int greenPins[9] = {1,3,5,7,9,11,13,15,17};
 
+//Game control variables
+int gameStatus = 0; //0 = ongoing game, 1 = you win, 2 = opponent wins
+int currentTurn = 0; //0 you, 1 opponent
+
+
 
 
 void setup() {  


// the loop routine runs over and over again forever:
void loop() {
  int gameStatus = 0; //0 = ongoing game, 1 = you win, 2 = opponent wins
  if (gameStatus == 0){ 
    checkColors();
    setLeds();
    gameStatus = checkVictoryConditions(); 
  } else if (gameStatus == 1){
    blinkLeds(0,1);
  } else if (gameStatus == 2){
    blinkLeds(1,0);
  }
}

void blinkLeds(int redValue, int greenValue){
  sd.clear();
  while(true){ //TODO change this
    for (int i = 0; i < 9; i++){

  }
}

//Set led values to used chip
void setLeds(){
  for(int i = 0; i < 9; i++){
    if (reds[i] == 1){
