mcpa-stlouis / hack-the-arch

Welcome to HackTheArch! A free open source scoring server for cyber Capture the Flag competitions!
https://hackthearch.herokuapp.com
MIT License
67 stars 28 forks source link

Subtract score for incorrect answers #49

Open martinusnel opened 6 years ago

martinusnel commented 6 years ago

Request for new feature: In the scoring configuration, add another section that you can define a penalty for wrong answers.

paullj1 commented 6 years ago

That shouldn't be too hard. Rails migration to add a new field to each problem, then add the logic into the submissions controller.

eljeffeg commented 6 years ago

Yup, must have - need penalties. It would also be great to have it apply penalties after X tries, like the first attempt is free, but any further incorrect answers gains negative points.

eljeffeg commented 6 years ago

Also be nice to have a max penalty for each question, so as not to overly discourage working on a challenge. For example, a 5 point question might look like. 1st attempt: no penalty 2nd attempt: - 1 point 3rd attempt: - 1 point 4th attempt: -1 point Additional attempts: no penalty

In this case, penalties would start at 2, be worth 1 point, and have a max penalty of 3 points.