Scoring engine for capture-the-flag challenge