Football Play Lab: Read the Defense, If and Else Before the Throw
Level 4 of Football Play Lab plays two rounds: first the defense doubles Y, then it doubles X. The starter quarterback throws to X every time, so round 1 is a touchdown and round 2 is knocked away. Students add an if and else: if X is open by more than 2, throw to X, else throw to Y. Both rounds pass. They test the 2 at other values and find where the read breaks in each direction. Level 5 adds a rusher who reaches the quarterback in under 3 seconds, beaten by a quick slant thrown at 0.6 seconds. Level 6 reads the defense before the snap: deep() counts the defenders lined up deep, 1 in Cover 1 and 2 in two deep, and one number picks the route.
At a glance
Essential question
How can a program make the right choice when it does not know what the defense will do?
Objectives
Students will be able to:
- explain why a play that always throws to one receiver fails against a defense that changes
- build an if and else that compares a reading to a number
- test the number in a condition at several values and say where it breaks
- use a reading taken before the snap to choose between two routes
- compare two programs that both pass, and say which is safer and why
Vocabulary
Condition, If and else, Threshold, Double, Rusher, Pre-snap read
Standards
2-AP-12, 2-AP-17
Time and materials
45 minutes, grades 6-8.
- One computer or Chromebook per student
- A projector
- The worksheet and exit ticket, one copy each per student
- The rubric, one copy per student if you grade the work
Prep
Make copies of the worksheet and exit ticket. Before class, open mytekdev.com/try/footballplaylab?lesson=read-the-defense-if-else-and-the-pre-snap-read&ref=tpt-footballplaylab-2 once on a student computer, which checks that your school's filter allows the app, and follow the short guide yourself: about ten minutes.
Assessment
- Formative: the questions under What to look for, asked while students work, and the exit ticket (answer key included).
- Summative: the worksheet, scored with the rubric.
Technology and privacy
Runs in any browser, Chromebooks included, with nothing to install. Students need no account and no email: the link works signed out, and nothing they do is stored on our server unless they choose to save.
mytekdev.com/try/footballplaylab?lesson=read-the-defense-if-else-and-the-pre-snap-read&ref=tpt-footballplaylab-2mytekdev.com/tools/football-play-lab/lessons/read-the-defense-if-else-and-the-pre-snap-read/startEach student gets their own copy, and the same link reopens it next time. How to set up a classLesson sequence
| Minutes | Stage | What you do | What students do |
|---|---|---|---|
| 0 to 5 | Warm-up Hook | Show the title, essential question and Today I can slides (about 1 minute). Then the warm-up: two friends, one guarded twice. | Answer the warm-up on the worksheet. |
| 5 to 13 | Direct instruction (I do) Model it | Project Level 4. The field fills the middle, seen from high behind the offense: the student's five players in team colors with flag belts, the five defenders in gray. Each player has a chip, C, Q, X, Y and Z, and each chip opens that player's own program in the Blocks and Python tabs. The box on the field says the level's goal and, after each play, what happened and why, with the seconds and the yards. The panel at the bottom right says the time since the snap, where the ball is, and how open the target receiver is. Read the quarterback's blocks aloud: drop back 3, wait 1.4 seconds, throw to X. Ask what will happen in each round, then press play. Round 1 is a touchdown; round 2, they double X, and the ball is knocked away. It's working when: A passed round starts the next by itself after a moment. Pressing play always starts the level again from round 1. | Predict, watch, and fill in the vocabulary on the worksheet. |
| 13 to 22 | Guided practice (We do) One round, then both | Students open the link or scan the QR code. A short guide walks them through the two rounds, card four's blocks, and both rounds passing. Then they change the 2 in the condition to -2, 0, 4 and 5 and play each. Watch for: Students who change the 2 and only watch round 1. The table needs both rounds for each number. | Follow the guide. Fill in the threshold table: which rounds pass at each number. |
| 22 to 37 | Independent practice (You do) Levels 5 and 6 | Students play card four on Level 5 first (knocked away: the read waits too long with a rusher coming), then card five; then Level 6 with card five, then card six. Ask them to write why each earlier card fails on the next level. Each play runs in real time. Slower and Speed up, under the field, change the speed; the play button starts the level again from the beginning, with the programs as they are now. Walk the room with the What to look for questions. If they ask: "On Level 6, throwing to Z every time also passes. Against Cover 1, X is 3.2 yards clear and Z only 1.7. Which program would you trust, and why?" Two programs that pass Watch for: Students who think deep() is read during the play. It counts the defenders as they line up, before the snap. | Record what each card does on Levels 5 and 6, and answer the questions. |
| 37 to 45 | Closure How does the program decide? And exit ticket | Show the closure slide and take answers. Then name the idea: an if and else let one program act differently on different inputs, and testing the threshold shows where it stops working. Hand out the exit ticket. | Discuss, then answer the exit ticket. |
Before you teach: a ten-minute walkthrough
Open mytekdev.com/try/footballplaylab?lesson=read-the-defense-if-else-and-the-pre-snap-read&ref=tpt-footballplaylab-2. A short guide opens over Level 4, Two receivers. The field fills the middle, seen from high behind the offense: the student's five players in team colors with flag belts, the five defenders in gray. Each player has a chip, C, Q, X, Y and Z, and each chip opens that player's own program in the Blocks and Python tabs. The box on the field says the level's goal and, after each play, what happened and why, with the seconds and the yards. The panel at the bottom right says the time since the snap, where the ball is, and how open the target receiver is.
- The starter. X and Y each run 10 yards and stop. Q drops back 3 yards, waits 1.4 seconds and throws to X. C and Z run 20 yards straight. Round 1 doubles Y: a touchdown to X, 35 yards. Round 2 doubles X: knocked away at 3.9 seconds.
- Card four. Put these blocks in for me, then Put them in. Q's throw becomes an if and else: if how open X is is more than 2, throw to X, else throw to Y. Both rounds are touchdowns, to X and then to Y.
- What the read sees. At the throw, X is open by 4.2 in round 1 and by -1.1 in round 2; Y by -1.1 and 4.8. A negative number means a defender is in front of the receiver or in the ball's way. The panel at the bottom right shows distance in yards, not this number.
- Speed. Each play runs in real time. Slower and Speed up, under the field, change the speed; the play button starts the level again from the beginning, with the programs as they are now. The play is the same on every run and every computer, so every student who makes the same change sees the same numbers.
- Numbers to expect. The threshold changed: -2 fails round 2 (it throws to the doubled X); 0, 2 and 4 pass both; 5 fails round 1 (X at 4.2 is not over 5, so the ball goes to the doubled Y). Level 5: card four is knocked away at 3.8 s; card five is thrown at 0.6 s and caught at 1.3 s for 5.3 yards. Level 6: card five gains 5.3 against Cover 1 (the level wants 8) and is knocked away against two deep; card six gains 11.8 to X against Cover 1 and scores to Z against two deep.
Background for the teacher
A quarterback reads the defense twice. Before the snap it looks at how the defenders line up: two deep defenders usually means two deep zones, one means a single safety over man coverage. After the snap it looks at the receivers and throws to the one the defense left open. Nobody is ever hit: a defender who reaches the ball carrier pulls a flag from its belt, and the play is over there. The field and rules are modeled on the IFAF flag football rules for 5 on 5; the app is not affiliated with or endorsed by IFAF or any league.
In the app, open() is a number of yards: the distance to the nearest defender, less 3 when that defender is in front of the receiver or in the ball's way. Comparing it with a threshold turns a look into a decision. deep() counts the defenders lined up 8 yards or more off, before the snap.
Teams at every level study plays with video and data, and the people who do it include coaches, video coordinators, data analysts and the software engineers who build their tools.
What to look for
Ask these while students work. A student who has understood the lesson can answer them without help:
- Why does always throwing to X fail in round 2?
- What question does the if ask, and what happens when the answer is no?
- Why does a threshold of 5 fail round 1?
- Why does card four fail on Level 5?
- What does deep() count, and when?
Cross-curricular extensions
- Math: a reading of -1.1 and one of 4.2. Put both on a number line with the thresholds -2, 0, 2, 4 and 5. Which thresholds split them?
- Physical education: practice a two-receiver read. The quarterback says "X" or "Y" aloud before throwing.
- Careers: look up what a sports data analyst does with player tracking data.
- Computer science: write the read as a flowchart with one diamond and two arrows.
Vocabulary
| Condition | A question with a yes or no answer, such as: is X open by more than 2 yards? |
| If and else | Blocks that run one set of steps when the condition is true and another when it is false. |
| Threshold | The number a reading is compared with: here, 2 yards. |
| Double | Two defenders on one receiver, which leaves another one open. |
| Rusher | A defender who runs at the quarterback from about 7 yards away. |
| Pre-snap read | Looking at the defense before the play starts: deep() counts the defenders lined up deep. |
Differentiation
English learners
- Keep the vocabulary slide up, and point at the receiver, the cornerback or the box on the field as you say each word: the picture carries the meaning.
- Give a sentence frame on a card: If X is open by more than ____, throw to ____; else throw to ____.
- Act it out: two students are receivers, the class decides who to double, and a quarterback says the if and else aloud before throwing a soft ball.
Students with IEPs or 504 plans
- Pair students, one at the keyboard and one recording results.
- Give the five thresholds on a card: -2, 0, 2, 4, 5.
- Where the IEP allows a modified assignment, score the first two rubric rows only.
Students who need more support
- Do the threshold table together on the projector, one play for each number.
- Use card four instead of building the if and else from the Logic blocks.
- The box on the field says what went wrong after every play, and each level has a card.
Students ready for more
- Build card four's if and else from the Logic blocks without the card, then check it passes both rounds.
- On Level 5, change card five's drop from 1 yard to 3. Is it still caught, and for how many yards?
- Go on to Level 9, the progression: a list of receivers the quarterback looks at in order.
Adapting for other grades
Younger students: In grades 4 and 5, run Level 4 together on the board, then let pairs try the five thresholds. Stop before Level 6. Score the first two rubric rows, total 8, and 6 meets the objectives.
Older students: In high school, work in the Python tab: card four is an if and an else around me.open("X"). Ask students to write card six's read themselves with me.deep(), then compare it with throwing to Z every time.
Football Play Lab: Read the Defense, If and Else Before the Throw
Student worksheet
Name: ______________________________ Date: ______________
Open the app: scan the QR code, or go to mytekdev.com/try/footballplaylab?lesson=read-the-defense-if-else-and-the-pre-snap-read
Essential question: How can a program make the right choice when it does not know what the defense will do?
Warm-up: Two friends, one guarded twice. How do you decide who gets the pass? ________________________
- Vocabulary. Condition, if and else, threshold, double, rusher, pre-snap read: write each in your own words.
- Always X. Round 1: ________. Round 2: ________.
- My threshold table. For each number, which rounds pass? -2: ________. 0: ________. 2: ________. 4: ________. 5: ________.
- Levels 5 and 6. Card four on Level 5: ________. Card five on Level 6: ________. Card six on Level 6: ________.
1. Why does the if and else pass both rounds when always throwing to X does not?
2. Throwing to Z every time also passes Level 6. Which program would you trust, and why?
Football Play Lab: Read the Defense, If and Else Before the Throw
Exit ticket
Name: ______________________________
1. A program says: if X is open by more than 2, throw to X, else throw to Y. X is open by 1. The ball goes to: (A) X (B) Y (C) nobody
2. deep() is read before the snap because: (A) it is faster (B) the defense shows its coverage as it lines up (C) the ball is not ready
3. A friend's play works against one defense and fails against another. Use what you learned today to say what to add, and why.
Answer key: exit ticket
| Question | Answer | Why |
|---|---|---|
| 1 | B | 1 is not more than 2, so the else runs. |
| 2 | B | How many defenders line up deep tells Cover 1 (1) from two deep (2) before anyone moves. |
| 3 | Open answer | An if and else that reads the defense, so the program picks the route or receiver that beats each one; then test it against both. |
Worksheet: what students should find
| Blank | What the app shows |
|---|---|
| Always X | Round 1: a touchdown to X. Round 2: knocked away at 3.9 seconds. |
| My threshold table | -2: round 1 only. 0: both. 2: both. 4: both. 5: round 2 only. |
| Levels 5 and 6 | Card four on Level 5: knocked away (thrown at 2.5 s with a rusher coming). Card five on Level 6: 5.3 yards against Cover 1 (short of 8), knocked away against two deep. Card six: 11.8 yards to X, then a touchdown to Z. |
| Question 1 | It reads how open X is and throws to Y when X is doubled. |
| Question 2 | Card six: its receiver is 3.2 yards clear against Cover 1, Z only 1.7. Either answer with that reason is right. |
Rubric
Score each row from 1 to 4.
Name: ______________________________
| Criteria | 4 Exceeds | 3 Meets | 2 Approaching | 1 Beginning |
|---|---|---|---|---|
| Explaining the read | Explains why always throwing to X fails in round 2, and how the if and else choose the open receiver, with the readings. | Explains that the program throws to whoever is not doubled. | Says the read works, with no reason. | No explanation. |
| Testing the threshold | Tests five thresholds in both rounds and says why too low and too high fail. | Tests five thresholds in both rounds. | Tests one or two, or one round only. | Does not test. |
| Levels 5 and 6 | Passes both, and says why the earlier card failed on each. | Passes both with the cards. | Passes one. | Passes neither. |
Total: ____ / 12. A score of 9 or more meets the objectives.
Standards
The lesson is built for CSTA 2-AP-12: students build an if and else that compares a reading with a number, and change it. Testing the threshold in both rounds is 2-AP-17.
| Framework | Code | Grades | Standard | How the lesson meets it |
|---|---|---|---|---|
| CSTA 2017 | 2-AP-12 | 6-8 | Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals. | Students add an if and else with a comparison to the quarterback's program, and a second one around a reading taken before the snap. |
| CSTA 2017 | 2-AP-17 | 6-8 | Systematically test and refine programs using a range of test cases. | Students test the condition's threshold at five values in both rounds and record which pass. |
Checked November 2026 against: CSTA K-12 Computer Science Standards, Revised 2017.
Optional: save student work in a free class
The whole lesson runs at the link on the worksheet, with no accounts and no sign-up.
To keep students' work, and see it all in one place, make a free class. It takes about ten minutes, once, and covers every lesson in this series: mytekdev.com/tools/class-setup
Students in a class open mytekdev.com/tools/football-play-lab/lessons/read-the-defense-if-else-and-the-pre-snap-read/start instead of the worksheet link. Each one gets their own copy of the starter, and the same link reopens it next time.