All tutorials

Code Rock Paper Scissors on a micro:bit with EduBlocks

microbitedublocksBeginner ⏱ 10 mins

Overview

In this project you will learn how to code your to play rock, paper, scissors using gestures and the . We will start by understanding the basic game logic and how to present rock, paper, and scissors on the LED matrix. You will discover how to use selection for the micro:bit's choice and show it on the LED matrix, so players can see what the micro:bit picked and work out whether they have won. Through this project you will develop fundamental coding concepts like , conditionals and random numbers while creating something fun and interactive. By the end you will have a fully functional game that you can play with friends or challenge the micro:bit yourself.

🎯

What you'll learn

  • How to
  • How to use a
  • How to create and use a
  • How to use the
  • How to display your own images on the
  • How to use , elif and else statements
  • How to use
  • How to choices