rj_gameplay.situation.decision_tree.plays

This module contains all the plays used by the decision tree situation analyzer. Ported from the old situation alaysis.

Module Contents

Classes

NoSituation

No Situation.

PrepareKickoff

Setup for kickoff.

Kickoff

Kickoff.

DefendKickoff

Kickoff defense.

DefendRestartOffensive

Defending our opponents restart on their side of the field.

DefendRestartMidfield

Plays for defending our opponents restart on their side of the field.

DefendRestartDefensive

Plays for defending our opponents restart in the midfield.

DefendRestartOffensiveDirect

Defending our direct opponents restart on their side of the field.

DefendRestartMidfieldDirect

Plays for defending our opponents direct restart on their side of the field.

DefendRestartDefensiveDirect

Plays for defending our opponents direct restart in the midfield.

Clear

Plays for clearing the ball from our side of the field (should include defensive

DefendClear

Plays for defending the opponents clear, when the ball is on their side.

DefendGoal

Plays for defending our goal from opponents near it with the ball.

MidfieldClear

Plays for when we possess the ball in the midfield.

AttackGoal

Plays for attacking the opponents goal, when we have the ball near it.

OffensiveScramble

Plays for getting a loose ball when the ball is on the opponents half.

MidfieldScramble

Plays for getting a loose ball when the ball is on the opponents half.

DefensiveScramble

Plays for getting a loose ball when the ball is on our half.

SaveBall

Plays that will trigger when the ball is headed out of the field with no

SaveShot

Plays that will trigger when the ball is headed directly at our goal.

OffensivePileup

Plays to handle a pile up on their side of the field.

Offense

Offense.

Defense

Defense.

MidfieldPileup

Plays to handle a pile up in the midfield.

DefensivePileup

Plays to handle a pile up on our side of the field.

MidfieldDefendClear

Plays to defend a clear when the ball is in the midfield.

PrepareShootout

Plays for making shootout shots.

Shootout

Plays for making shootout shots.

PrepareDefendShootout

Plays for defending shootout shots.

DefendShootout

Plays for defending shootout shots.

PreparePenalty

Set up for penalty shots.

Penalty

Plays for making penalty shots.

PrepareDefendPenalty

Prepare to defend the penalty. Our goalie must be on the goal box line.

DefendPenalty

Plays for defending penalty shots.

OffensiveKick

Plays for indirect kicks on their side.

DefensiveKick

Plays for indirect kicks on our side.

MidfieldKick

Plays for indirect kicks in the midfield.

OffensiveKickDirect

Plays for direct kicks on their side.

DefensiveKickDirect

Plays for direct kicks on our side.

MidfieldKickDirect

Plays for direct kicks in the midfield.

GoalieClear

Plays for clearing the ball when our goalie possesses the ball.

Stop

Plays for dealing with the stop state.

class rj_gameplay.situation.decision_tree.plays.NoSituation

Bases: stp.situation.ISituation

No Situation.

class rj_gameplay.situation.decision_tree.plays.PrepareKickoff

Bases: stp.situation.ISituation

Setup for kickoff.

class rj_gameplay.situation.decision_tree.plays.Kickoff

Bases: stp.situation.ISituation

Kickoff.

class rj_gameplay.situation.decision_tree.plays.DefendKickoff

Bases: stp.situation.ISituation

Kickoff defense.

class rj_gameplay.situation.decision_tree.plays.DefendRestartOffensive

Bases: stp.situation.ISituation

Defending our opponents restart on their side of the field.

class rj_gameplay.situation.decision_tree.plays.DefendRestartMidfield

Bases: stp.situation.ISituation

Plays for defending our opponents restart on their side of the field.

class rj_gameplay.situation.decision_tree.plays.DefendRestartDefensive

Bases: stp.situation.ISituation

Plays for defending our opponents restart in the midfield.

class rj_gameplay.situation.decision_tree.plays.DefendRestartOffensiveDirect

Bases: stp.situation.ISituation

Defending our direct opponents restart on their side of the field.

class rj_gameplay.situation.decision_tree.plays.DefendRestartMidfieldDirect

Bases: stp.situation.ISituation

Plays for defending our opponents direct restart on their side of the field.

class rj_gameplay.situation.decision_tree.plays.DefendRestartDefensiveDirect

Bases: stp.situation.ISituation

Plays for defending our opponents direct restart in the midfield.

class rj_gameplay.situation.decision_tree.plays.Clear

Bases: stp.situation.ISituation

Plays for clearing the ball from our side of the field (should include defensive caution).

class rj_gameplay.situation.decision_tree.plays.DefendClear

Bases: stp.situation.ISituation

Plays for defending the opponents clear, when the ball is on their side.

class rj_gameplay.situation.decision_tree.plays.DefendGoal

Bases: stp.situation.ISituation

Plays for defending our goal from opponents near it with the ball.

class rj_gameplay.situation.decision_tree.plays.MidfieldClear

Bases: stp.situation.ISituation

Plays for when we possess the ball in the midfield.

class rj_gameplay.situation.decision_tree.plays.AttackGoal

Bases: stp.situation.ISituation

Plays for attacking the opponents goal, when we have the ball near it.

class rj_gameplay.situation.decision_tree.plays.OffensiveScramble

Bases: stp.situation.ISituation

Plays for getting a loose ball when the ball is on the opponents half.

class rj_gameplay.situation.decision_tree.plays.MidfieldScramble

Bases: stp.situation.ISituation

Plays for getting a loose ball when the ball is on the opponents half.

class rj_gameplay.situation.decision_tree.plays.DefensiveScramble

Bases: stp.situation.ISituation

Plays for getting a loose ball when the ball is on our half.

class rj_gameplay.situation.decision_tree.plays.SaveBall

Bases: stp.situation.ISituation

Plays that will trigger when the ball is headed out of the field with no obstructions.

class rj_gameplay.situation.decision_tree.plays.SaveShot

Bases: stp.situation.ISituation

Plays that will trigger when the ball is headed directly at our goal.

class rj_gameplay.situation.decision_tree.plays.OffensivePileup

Bases: stp.situation.ISituation

Plays to handle a pile up on their side of the field.

class rj_gameplay.situation.decision_tree.plays.Offense

Bases: stp.situation.ISituation

Offense.

class rj_gameplay.situation.decision_tree.plays.Defense

Bases: stp.situation.ISituation

Defense.

class rj_gameplay.situation.decision_tree.plays.MidfieldPileup

Bases: stp.situation.ISituation

Plays to handle a pile up in the midfield.

class rj_gameplay.situation.decision_tree.plays.DefensivePileup

Bases: stp.situation.ISituation

Plays to handle a pile up on our side of the field.

class rj_gameplay.situation.decision_tree.plays.MidfieldDefendClear

Bases: stp.situation.ISituation

Plays to defend a clear when the ball is in the midfield.

class rj_gameplay.situation.decision_tree.plays.PrepareShootout

Bases: stp.situation.ISituation

Plays for making shootout shots.

class rj_gameplay.situation.decision_tree.plays.Shootout

Bases: stp.situation.ISituation

Plays for making shootout shots.

class rj_gameplay.situation.decision_tree.plays.PrepareDefendShootout

Bases: stp.situation.ISituation

Plays for defending shootout shots.

class rj_gameplay.situation.decision_tree.plays.DefendShootout

Bases: stp.situation.ISituation

Plays for defending shootout shots.

class rj_gameplay.situation.decision_tree.plays.PreparePenalty

Bases: stp.situation.ISituation

Set up for penalty shots.

class rj_gameplay.situation.decision_tree.plays.Penalty

Bases: stp.situation.ISituation

Plays for making penalty shots.

class rj_gameplay.situation.decision_tree.plays.PrepareDefendPenalty

Bases: stp.situation.ISituation

Prepare to defend the penalty. Our goalie must be on the goal box line.

class rj_gameplay.situation.decision_tree.plays.DefendPenalty

Bases: stp.situation.ISituation

Plays for defending penalty shots.

class rj_gameplay.situation.decision_tree.plays.OffensiveKick

Bases: stp.situation.ISituation

Plays for indirect kicks on their side.

class rj_gameplay.situation.decision_tree.plays.DefensiveKick

Bases: stp.situation.ISituation

Plays for indirect kicks on our side.

class rj_gameplay.situation.decision_tree.plays.MidfieldKick

Bases: stp.situation.ISituation

Plays for indirect kicks in the midfield.

class rj_gameplay.situation.decision_tree.plays.OffensiveKickDirect

Bases: stp.situation.ISituation

Plays for direct kicks on their side.

class rj_gameplay.situation.decision_tree.plays.DefensiveKickDirect

Bases: stp.situation.ISituation

Plays for direct kicks on our side.

class rj_gameplay.situation.decision_tree.plays.MidfieldKickDirect

Bases: stp.situation.ISituation

Plays for direct kicks in the midfield.

class rj_gameplay.situation.decision_tree.plays.GoalieClear

Bases: stp.situation.ISituation

Plays for clearing the ball when our goalie possesses the ball.

class rj_gameplay.situation.decision_tree.plays.Stop

Bases: stp.situation.ISituation

Plays for dealing with the stop state.