 
 // State variables
 int activeReceiver;
+bool laserHit = false;
 
 // Store scores
 int scores[] = {0,0};
-decode_results results;
+decode_results result;
 
 // methods
 void setup() {

    else
      turnOffReceiver(i);
  }

  startMillis = millis();
}

void turnOffReceiver(int index) {
  digitalWrite(ledPins[index], LOW); 
}

void turnOnReceiver(int index) {
  digitalWrite(ledPins[index], HIGH);
}

void recordHit(int index) {
  unsigned int rawbuf_last = results.rawbuf[results.rawlen-1];
  
  if(rawbuf_last < 10){
    scores[BLUE_LASER]++;

}

void initSensors() {
  for (int i = 0; i < BASE_COUNT; i++) {
    irrecvs[i] = new IRrecv(receiverPins[i]);
    irrecvs[i]->enableIRIn();
