Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ADAPTIVE_DIFFICULTY]
- ENABLED = 1
- LAST_GOAL_DIFFERENCE_ABS_THRESHOLD = 6 // e.g. "Single game loss >= 6 goals", "Single game win >= 6 goals"
- STREAK_ABS_THRESHOLD_0 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Beginner)"
- STREAK_ABS_THRESHOLD_1 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Amateur)"
- STREAK_ABS_THRESHOLD_2 = 3 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Semi-Pro)"
- STREAK_ABS_THRESHOLD_3 = 4 // e.g. "Four back to back losses with a negative goal diff of >= 12 (Professional)"
- STREAK_ABS_THRESHOLD_4 = 4 // e.g. "Four back to back losses with a negative goal diff of >= 12 (World Class)"
- STREAK_ABS_THRESHOLD_5 = 5 // e.g. "Five back to back losses with a negative goal diff of >= 15 (Legendary)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_0 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Beginner)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_1 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Amateur)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_2 = 9 // e.g. "Three back to back losses with a negative goal diff of >= 9 (Semi-Pro)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_3 = 12 // e.g. "Four back to back losses with a negative goal diff of >= 12 (Professional)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_4 = 12 // e.g. "Four back to back losses with a negative goal diff of >= 12 (World Class)"
- ACCUMULATED_GOAL_DIFFERENCE_ABS_THRESHOLD_5 = 15 // e.g. "Five back to back losses with a negative goal diff of >= 15 (Legendary)"
- [ADAPTIVE_DIFFICULTY_INCREASE_DIFFICULTY]
- // Description: "User scores in first 5 minutes"
- // WHEN <GoalEvaluation> IF <user score is greater than opponent score and before 5 minutes> DO <increase difficulty by 0.25>
- RULE1_PARAM1 = 5 // Minutes
- RULE1_OUTPUT = 0.25
- // Description: "User scores in first 20 minutes"
- // WHEN <GoalEvaluation> IF <user score is greater than opponent score and before 20 minutes> DO <increase difficulty by 0.25>
- RULE2_PARAM1 = 20 // Minutes
- RULE2_OUTPUT = 0.25
- // Description: "Score >= 2 goal lead"
- // WHEN <GoalEvaluation> IF <user has greater than 2 goal lead> DO <increase difficulty by 0.25>
- RULE3_PARAM1 = 2 // Goal lead
- RULE3_OUTPUT = 0.25
- // Description: ">70% possession after at least 20 minutes"
- // WHEN <BallOOP> IF <user has greater than 70% of possession and after 20 minutes> DO <increase difficulty by 0.25>
- RULE4_PARAM1 = 70 // Possession percentage
- RULE4_PARAM2 = 20 // Minutes
- RULE4_OUTPUT = 0.25
- // Description: "More than 5 shots in first 30 minutes"
- // WHEN <BallOOP> IF <user has more than 5 shots in the first 30 minutes> DO <increase difficulty by 0.15>
- RULE5_PARAM1 = 5 // Shots
- RULE5_PARAM2 = 30 // Minutes
- RULE5_OUTPUT = 0.15
- // Description: "More than 10 shots on target at any point"
- // WHEN <BallOOP> IF <user has more than 10 shots on target> DO <increase difficulty by 0.1>
- RULE6_PARAM1 = 10 // Shots on target
- RULE6_PARAM2 = 10 // Increments on PARAM1
- RULE6_OUTPUT = 0.1
- [ADAPTIVE_DIFFICULTY_DECREASE_DIFFICULTY]
- // Description: "Losing at any point"
- // WHEN <GoalEvaluation> DO <decrease difficulty by 0.1>
- RULE1_PARAM1 = 0 // Minutes
- RULE1_OUTPUT = -0.1
- // Description: "No shot on target within 30 minutes of play"
- // WHEN <BallOOP> IF <after 30 minutes> DO <decrease difficulty by 0.2>
- RULE2_PARAM1 = 30 // Minutes
- RULE2_OUTPUT = -0.2
- // Description: "<30% possession any time after 30 minutes"
- // WHEN <BallOOP> IF <possession less than 30% and after 30 minutes> DO <decrease difficulty by 0.2>
- RULE3_PARAM1 = 30 // Possession
- RULE3_PARAM2 = 30 // Minutes
- RULE3_OUTPUT = -0.2
- // Description: "<2 shots by 60th minute"
- // WHEN <BallOOP> IF <number of shots less than 2 and after 60 minutes> DO <decrease difficulty by 0.2>
- RULE4_PARAM1 = 2 // Shots
- RULE4_PARAM2 = 60 // Minutes
- RULE4_OUTPUT = -0.2
- // Description: "<4 shots on target 80th minute"
- // WHEN <BallOOP> IF <number of shots less than 4 and after 80 minutes> DO <decrease difficulty by 0.3>
- RULE5_PARAM1 = 4 // Shots
- RULE5_PARAM2 = 80 // Minutes
- RULE5_OUTPUT = -0.3
- // Description: "Losing by 2 goals"
- // WHEN <GoalEvaluation> IF <losing by 2 goals> DO <decrease difficulty by 0.1>
- RULE6_PARAM1 = -2 // Goals
- RULE6_OUTPUT = -0.15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement