Unterrichtspläne

Conditional Statements: Using the Lock and Key in Fortnite Creative

Fortnite Creative
Computer Science and Engineering
Hour of Code
Did you know you can learn computer programming concepts in Fortnite Creative? In this activity, students will learn to work with conditional statements by creating a lock-and-key game mechanic.

Overview

Did you know you can learn computer programming concepts in Fortnite Creative? Well, you can!

“IF you finish your vegetables, THEN you can have ice cream.” Have your parents ever uttered a statement like this? In coding, we call that a conditional statement. If the condition is met, the result is activated.

In this activity, students will create a lock-and-key game mechanic where the player has to find a key to unlock a door that allows the player to advance in the game.

Let’s get started!
 

Students will be able to: 

  • Demonstrate an understanding of conditional statements as a concept.
  • Demonstrate an understanding of conditional statements as a concept.
  • Apply the understanding of conditional statements in the context of a game.
  • Create a puzzle in a game environment that incorporates the use of conditional statements.
 

Subject

Computer Science and Engineering
 

Grade level

Grades 8 - 12 (Ages 13+)


Explore more lesson plans
  • Kurslänge:1 Stunde 0 Minuten
  • Geschrieben von:Steve Isaacs and Brian Dickman
  • Veröffentlichungsdatum:03-2020