Spike Prime - Even Odd game - Teacher Resources

From RoboWiki
Jump to: navigation, search

Complexity of the task: Medium, the task itself is not difficult, but it is important to be careful when solving so as not to make mistakes. For example, to make it so that it was impossible to choose more points than the participants have.

Lesson Plan

1. Prepare

  • Read through the student material.

2. Engage (10 Min.)

  • Use the ideas in the Ignite a Discussion section below to engage your students in a discussion related to this lesson.
  • Use the video to explain the lesson.

3. Explore (30 Min.)

  • Have your students work in pairs to build the build the tic tac toe robot.
  • Ask them to run the program to see how the robot works..

4. Explain (10 Min.)

  • Organize a discussion about robot.

5. Elaborate (30 Min.)

  • Ask students to work on the solutions they like best.
  • Don't forget to leave time for cleaning

6. Evaluate

  • Give feedback on each student's performance.

Ignite a Discussion

Start by watching the video and explanations of the game.

Alternatively, the class may read the description in the student handout aloud.

Discuss the game, what to do, how to play.

Does anyone know this game. Does anyone know other games with numbers or similar to this one.

Discuss game strategy. What is the best way to place a bet.

For example, if this is the first move, then it can be risky to bet everything, since the opponent may guess that you decided to finish everything in one move. And when these are subsequent moves, then the number of bets is not 50 to 50, for example, we have 7 points, in which case we have even bets 0,2,4,6 where zero is not counted as this is a tactical way to skip a move, because in case of victory or no one loses anything. so we have 3 even bets and four odd bets 1,3,5,7 so the odds are higher for the player to win the odd bet, but he might also think the same way and outwit you.

Task for students

Ask the students to complete the task, for the solution they will need to understand how the rate works in the code to add the ability to put negative numbers.

Materials for students