anchor.diff:  
     void onWin() {
       this._setState(State.Won);
  +    Map body = {
  +      'win': [this.player.account['id']],
  +      'loss': this.opponents.keys
  +    };
  +
  +    hydraClient.put('matches/${match['id']}/complete', body, (JsObject response) {
  +    });
     }
   
     void onLose() {
  
positive.code:               Element opponentHolder = querySelector('#opponent${this.grids.length + 1}');
                _markPlayerInMatch(opponentHolder, playerId);
                this.grids[playerId] = _renderGrid(opponentHolder, player['identity']['username'], player['account_id'], false);
                this.grids[playerId].className = 'playergrid offline';
                break;
              }
            }
  
negative.code: 
      if(this.grids.containsKey(playerId)) {
        Element opHolder = this.grids[playerId].parent;
        opHolder.className = 'playerspot open';
        opHolder.children.clear();
        this.grids.remove(playerId);
      }
  
  