Back to Browse

micro:bit tutorial: How to Make a Two-Player Dice Game

2.2K views
Premiered Mar 19, 2025
8:54

This video shows how to write code, using MakeCode blocks, for a two play dice game. Check out the companion blog post if you want more information on writing the code, including a link to the code I wrote: https://wonkitz.com/microbit-tutorial-how-to-make-a-two-player-dice-game/ For information about other content and ideas, subscribe to my newsletter: http://eepurl.com/g0KHDv 00:00 Introduction 00:40 Write code for a single die 01:37 Test the code for a single die 01:58 Write code for two-player dice game 02:59 Test the first part of the code 03:14 Write code to connect two micro:bits 04:08 Add code to send the value to the other player 05:32 Write code to compare two values display results 07:40 Test final code

Download

1 formats

Video Formats

360pmp413.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

micro:bit tutorial: How to Make a Two-Player Dice Game | NatokHD