#! /usr/local/bin/tcsh -f

set projDir = /home/comp210/Projects/Connect5


foreach student ( `echo $argv` )
  echo testing $student
  set ex = /home/$student/comp210/final/connect5
  #set ex = /home/comp210/Projects/Connect5/Tourney/snafus/$student/connect5
  foreach trial ($projDir/Tests/Wins/*)
    #echo against $trial
    if ($trial:r == $trial) then
      if (`$ex < $trial` != `cat $trial.out`) echo $student missed $trial
      endif
    end
  end
