EU Code Week 2020 - Friday - Play Your Own Game

hamburger menu
YouTube Join us LIVE now!

About this lesson

Today's Playground:
Rock, Paper, Scissors playground
Rock, Paper, Scissors
Day nine: rock, paper, scissors playground image What good is learning how to code if you can't build your own games?

Today we'll apply some of our coding skills to a game of rock, paper, scissors.

The brilliant thing about today's lesson is that, if we mess up, we can always reset the page or download a new copy of the Rock, Paper, Scissors playground. What will your game look like?

Video

Recorded Friday, October 16th, 2020:

Unplugged Activity

Rock, Paper, Scissors - play your own game

You will need:
  • A4 Paper to record the score
  • Pen or pencil

Activity:

We will play the 'Rock, Paper, Scissors' game. We will play in pairs, to see who will be the champion. You will record the players names and the score. We will look back at the week, to name the steps of the algorithm, the loops and the variables.

Extend

More Depth: Complete the Add Hidden Actions and Add Opponents pages to build a more complete game. Think about how people are going to play this game. Test out your additions to see if it makes the game more compelling. Hand your game to someone else if you are able. Did they enjoy your twist(s) on the game?

Beyond Games: "What? Beyond games? What are you talking about?" I can hear you say. But maybe what you want to build is an app that uses the camera on your iPad. Or in which you can decorate photos and other images?

Download the Lights, Camera, Code playground from More Playgrounds and see if you can build a working camera app.

Even More Advanced: What if games are your thing, but you want to build a game using some of the other sensors on the iPad, like the microphone, or the light sensor in the camera? Grab the Sensor Arcade playground from the Challenges section of More Playgrounds and give it a whirl! This is an intermediate playground, so it's a big step up, so don't be discouraged if some of the code is utterly foreign-looking. Experiment with it. And if you get stuck, you can always reset the page and get it back to its original state!