Create interactive games using MicroPython and electronics
summary
Shows how to build interactive games on a BBC micro:bit using MicroPython, covering hardware inputs (push buttons, accelerometer) and the LED matrix for output. It walks through three concrete game examples—Chase the Dot, Genius, and Car Crash—explaining how each game operates, presenting the source code, and demonstrating them.
AI-written summary · about
chapters (30)
- 0:00Intro
- 1:08DEVELOPMENT BOARDS I'VE USED
- 1:59WHAT I WILL USE FOR THIS PRESENTATION
- 2:52BBC MICRO:BIT PROJECT OVERVIEW
- 3:36BBC MICRO:BIT V2 SPECIFICATIONS
- 5:22ANALOG AND DIGITAL SIGNALS
- 6:32GAMEPAD FOR MICRO:BIT SPECIFICATIONS
- 7:49GAMEPAD PINOUT
- 8:31DIGITAL AND ANALOG INPUT/OUTPUT
- 10:15MICRO:BIT PYTHON TEXT EDITOR
- 11:59DISPLAY EXAMPLE
- 12:53BUTTON EXAMPLE
- 13:32BUZZER EXAMPLE
- 14:08ACCELEROMETER EXAMPLE
- 14:43GPIO EXAMPLE
- 15:25JOYSTICK EXAMPLE
- 17:56GENIUS: START GAME
- 18:21GENIUS: GENERATE THE SEQUENCE
- 19:00GENIUS: READ THE USER INPUT
- 19:37GENIUS: VALIDATE THE USER INPUT
- 20:02GENIUS: END GAME
- 20:18#1 GENIUS: RUN THE GAME
- 22:09CHASE THE DOT: GENERATE THE DOT
- 22:31CHASE THE DOT: READ THE USER INPUT
- 22:43CHASE THE DOT: MOVE THE PLAYER
- 23:00CHASE THE DOT: CHECK COLLISION
- 25:41CAR CRASH: PLAYER AND OBSTACLE
- 26:05CAR CRASH: BORDER
- 26:54CAR CRASH: SCREEN BUFFER
- 28:16CAR CRASH: RUN THE GAME
related talks
02h 02mIntroduction to MicroPython getting started with BBC micro:bit
29mGame Development with CircuitPython
47mBuilding Awesome 8-bit Adventure Games with Micr...
21mUsing comedy as an excuse to play with python-programmed microcontrollers
18mMake them think, make it fun
37mChildren's Day Show and Tell
27mMore Fun With Hardware and CircuitPython - IoT, Wearables, and more!
26mResponsive HTML5 games - on microcontrollers
