public void play() throws GameActionException {
    if (rc.isActive()) {
      int soundChannel = 1;
      int pastrChannel = 2;
      Message ms = Comms.ReadMessage(rc, soundChannel);
      Message mp = Comms.ReadMessage(rc, pastrChannel);
      if (ms != null) {
        if (rc.senseObjectAtLocation(ms.loc) == null) {
          rc.broadcast(soundChannel, 0);
        }
      }
      if (mp != null) {
        if (rc.senseObjectAtLocation(mp.loc) == null) {
          rc.broadcast(pastrChannel, 0);
        }
      }
      // in principle the HQ is really good at killing enemies
      // BUT
      // killing nearby enemies almost never happens
      // because the HQ is so busy spawning more robots
      // and it cant shoot during spawning
      Tactics.killNearbyEnemiesHQ(rc, info);

      spawnRobot();
    }
  }