Commit 47870514 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Recrod wins/losses from other players.

parent 12d5ec26
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -146,10 +146,12 @@ test_all_opponents:
      1:White|2:Black)
      echo "You win!"
      curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${GITLAB_USER_LOGIN}&result=1"
      curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${OPPO}&result=0"
      ;;
      *)
      echo "You lost :-("
      curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${GITLAB_USER_LOGIN}&result=1"
      curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${GITLAB_USER_LOGIN}&result=0"
      curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${OPPO}&result=1"
      ;;
      esac
  allow_failure: true