How to Code Rock Paper Scissors in App Lab [ Programming for Beginners]

Опубликовано: 03 Ноябрь 2024
на канале: World Class Tech Ed
7,073
72

In this video, I show you how to code the classic game -- Rock, Paper, Scissors -- in App Lab on the Code.org website. I use Block programming primarily in this tutorial, but occasionally switch to text view and program in Javascript. This is a great programming challenge for those new to programming. #RockPaperScissors #AppLab #HighSchool

Learn how to use random numbers, nested if statements and event handlers in App Lab to create this classic game. The computer generates a random number from 1 to 3. These random numbers represent ROCK, PAPER or SCISSORS. In this game, the user is playing against the computer.

I am a high school educator with over 20 years experience teaching kids how to code. If you are an educator please feel free to use my instructional videos in your classroom. I teach a wide variety of subjects and programming languages.