Level 7: Unplugged Activity - IncrediCoders/Python1 GitHub Wiki

Grafika Turtle added this page on June 6, 2023


I'm going to cover more details about the IncrediCards Unplugged Activity that I showed you in the book.

Unplugged Activity: IncrediCards

This Unplugged Activity helps you learn the logic that the IncrediCards game uses.

Requirements

You'll need a dice, a coin, and each person will need to have ten objects, like pens, pencils, erasers, toothpicks, or straws. Those objects will be called Health Points.

Instructions

Basic Version

In the basic version, you each get only one type of attack, the TechType Attack. Each player targets any other player and flips a coin. If it's heads, then you do three points of damage to the other player, and you take away three of the Health Points (the objects) from that player. If it's tails, then you don't do any damage. You take turns, going clockwise around the room, until only one person is left. (Remember that each player can target any one player they want, per turn.) You can have any number of players playing this game.

Here are the steps to take to play the basic version of this game:

  1. Roll the dice to see who goes first. The highest number goes first.

  2. The first player starts and targets any other player to attack.

  3. The first player flips the coin, to see if the attack was successful. (Heads is successful, and tails misses the attack.)

  4. If the attack was successful, the player that was attacked will lose three Health Points. Remove three objects from that player.

  5. The second player now gets a turn to attack someone. (Repeat this process clockwise, for each player.)

Intermediate Version

In the intermediate version, you pick your TechType, without showing anyone. Write down one of the five TechTypes on a piece of paper, without anyone seeing. Your choices are:

  • Python
  • Java
  • Scratch
  • Small Basic
  • Bash

Then show the others your TechType (after everyone picked one). The TechTypes all have weaknesses and resistances, to one other TechType. Because you picked your TechTypes without showing anyone, you don't know who has the advantage until you see what everybody picked. Here are the weaknesses and strengths (resistance) of each TechType:

Types: Weakness: Resistance:
Python Java Bash
Small Basic Bash Scratch
Scratch Small Basic Java
Java Scratch Python
Bash Python Small Basic

For example, if a Python TechType attacks a Bash TechType, then you do 4 damage instead of 3 (because Bash is weak to a Python attack).

If Python attacks Java, then you do 2 damage instead of 3 (because Java is resistant to the Python attack).

But if a Python attacks another Python, Scratch, or Small Basic card, then you do the 3 damage.

Advanced Version

In addition to the TechType Attack (with weaknesses and resistance), you now have a second option for attacking your opponents… the Coded Attack!

When you pick your TechType, you also pick your Coded Special Attack. Write down your Coded Special Attack, on your piece of paper, when you write down your TechType.

If you pick the Coded Special Attack (instead of the TechType Attack), then you will always do one damage (you can't randomly miss). Instead of flipping the coin to see if you hit your target or not, you will flip the coin to see if you get to use your special ability.

For your Coded Special Attack, you have four options:

  • Extra Hit - If you get heads, you do two damage to your opponent instead of one.

  • Extra Turn - If you get heads, you get to attack again! (You can only use this once per turn.) Pick any opponent to attack, and you get to pick the TechType Attack or Coded Attack.

  • Gain Health - If you get heads, you get one of your Health Points back!

  • Opponent Flips Tails - If you get heads, your opponent (that you already picked) will automatically get tails on their next turn!

Printed-Out Cards

Optionally, you can print out the cards, and use those! To print out the cards, you can find them in Level 7's Assets folder. You only need to print the front of the cards (with the characters on them). There are 14 cards. After you print out the cards, cut them out! If you print them out on thicker paper, they'll last a little longer.

Here's how each version of the game would change...

Basic Version

It's the same! Pick your card when you start the game. The players can randomly pick their cards, or they can roll the dice and pick the cards based on the order of who had the highest roll.

Make sure you call each player by their card's name, while playing the game!

Intermediate Version

Instead of picking your TechType and writing it on a piece of paper, you're going to either:

  • Randomly pick an IncrediCards card.
  • Place all the cards face up. Roll a dice to see who goes first. Each player can pick their card, based on the order of who had the highest roll.

Once the players picked their cards, each character's TechType, weakness, and strength/resistance is on the card.

Advanced Version

Pick your card, using the same process as the Intermediate Version. There are two ways to pick your card:

  • Randomly pick an IncrediCards card.
  • Place all the cards face up. Roll a dice to see who goes first. Each player can pick their card, based on the order of who had the highest roll.

When using the printed cards, you don't need to pick a Coded Attack. The Coded Attack capabilities are also included on the cards!

Next Steps

Next, you can take on the two extra challenges to add more features to the IncrediCards game and to learn more about programming in Python!

Take the Challenges!

  1. Challenge 1: In this challenge, you are going to...

  2. Challenge 2: In this second challenge, you are going to...

More Level 7 Resources

  • Level 7: Unplugged Activity - I wrote this page with more details than what you saw in the book. In this game,

  • Level 7: Rewards - If you completed the IncrediCards program that we talked about, then I set up this page to act as a reward. You can see some illustrations of me and learn more about who I am! You'll also find the WHAT Award digital download, to show off your accomplishment!

  • Level 7: IncrediCards - All Online Resources - Return back to the main Level 7 page, with all our online resources!

⚠️ **GitHub.com Fallback** ⚠️