Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more dynamic handling #128

Merged
merged 6 commits into from
Dec 15, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 35 additions & 3 deletions rules/game_process.tex
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,40 @@ \subsubsection{Invalid Goal}
In these cases a goal is not scored (that is, the goal is ruled invalid), and the game will proceed with a Goal Kick (\cf \cref{sec:free_kick}).
The head referee should also advise why the goal is invalid, such as by calling ``Not indirect'', ``Played with hands'' or ``No own goal''.

\subsubsection{Indirect Kick}
\label{sec:indirect_kick}
\subsubsection{Indirect Kick - Champions Cup}
\label{sec:indirect_kick_champions}

A team may only score a goal by making a second contact with the ball within is own team from any affected start or restart into \texttt{playing}:

\begin{itemize}
\item A robot may not score a goal from a direct kick, including via deflections.
\item Set plays considered to be indirect are \texttt{Kick-off}, \texttt{Kick-in}, \texttt{Pushing free kick}, \texttt{Corner kick} and \texttt{Goal kick}.
\item The ball must be deliberately played-at a second time by another robot of its own team before a goal may be scored.
A deliberate play at the ball includes successfully kicking the ball, dribbling the ball or the goalkeeper playing at the ball with its hands.
\item If an indirect free kick is kicked directly into the opponent's goal, the goal does not count and a and a \texttt{Goal kick} is awarded.
arnemoos marked this conversation as resolved.
Show resolved Hide resolved
\item Note that an own-goal may always be scored without requiring an indirect kick.
\item Direct kick is allowed for the duration of the penalty kick, but this rule still applied after this kick. Contact in the penalty kick count among this rule.
arnemoos marked this conversation as resolved.
Show resolved Hide resolved
\end{itemize}

\begin{description}
\item[Example 1:] Player 2 (of the red team) kicks the ball to Player~3 (of the red team), who then kicks the ball into the blue-team's goal.
This is a successful indirect kick, and the goal counts.
\item[Example 2:] Player 2 (of the red team) kicks the ball at the goal, and it is deflected off the side of the foot of a blue-team's robot into the goal.
This is \textit{not} an indirect kick, the goal does not count and a \texttt{Goal kick} is awarded to the blue team.
\item[Example 3:] Player 2 (of the red team) kicks the ball ``upfield''.
A blue-team robot kicks the ball a short distance, after which Player~2 kicks the ball again into the blue team's goal.
This is \textit{not} an indirect kick, the goal does not count and a \texttt{Goal kick} is awarded to the blue team.
\item[Example 4:] Player 2 (of the red team), walks up to and dribbles the ball.
Player~2 then stop, and visibly back away from the ball, before approaching to dribble a \textit{second} time.
The robot then scores. This is \textit{not} a successful indirect kick and a \texttt{Goal kick} is awarded.
\item[Example 5:] Player 2 (of the red team) kicks the ball ``upfield''.
A blue-team robot kicks the ball again into the red team's goal.
In this case, the blue teams does not need a indirect kick and the goal is counts.
arnemoos marked this conversation as resolved.
Show resolved Hide resolved
\item[Example 6:] A direct kick is allowed for the duration of the penalty kick, but this rule still applies after this kick. A contact in the penalty kick count among this rule.
\end{description}

\subsubsection{Indirect Kick - Challenger Shield}
arnemoos marked this conversation as resolved.
Show resolved Hide resolved
\label{sec:indirect_kick_challenger}

The attacking team may only score a goal via indirect kick from any restart into \texttt{playing} from a free kick.

Expand Down Expand Up @@ -215,7 +247,7 @@ \subsection{Kick-off}
The head referee must signal this from the T-junction of the halfway line.
\qty{\PlayingDelayTime}{\second} after the head referee has signaled the kick-off, the robots' state is switched to \texttt{playing} by the GameController (regardless of when the ball comes into play).

A goal may be scored directly from a kick-off.
arnemoos marked this conversation as resolved.
Show resolved Hide resolved
A goal may be scored directly from a kick-off for the Challenge Shield. However, for the Champions Cup the indirect kick rule applies and the goal does \textit{not} count.

\subsubsection{Ball in Play}

Expand Down