-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
CTF Problems (Attack/Def)
Create an implementation of a problem entity for round 2 (attack/defence style CTFs) and it's corresponding CRUD in the API.
Models Required
-
AttackDefProblem
- attackdef_team: Foreign key of AttackDefTeam model. Represents the team who is attacked by solving this CTF problem.
- problem: Foreign key of Problem model. Represents the underlying CTF problem.
-
Modify underlying Problem model:
- Add difficulty_level field. Will be used for selecting and upgrading AttackDefProblem using powerup(s).
- Add problem_type field. Will be used to distinguish attack/def CTFs from jeopardy style CTFs.
API Endpoints
- Modify all CTF routes to not accept submissions of attack/def CTFs.
- Create similar CTF routes for attack/def CTFs that respect powerups' logic.