Easy Zig Embedded, Simon uhm Ziggy game part3/4
YouTube Viewers YouTube Viewers
2.2K subscribers
213 views
0

 Published On Sep 5, 2023

Today we fondle tiny #buttons with #Zig and #raspberrypipico and make the game work, minus the sound -- that comes in the last episode.

The code in the episode:
https://github.com/rdoetjes/simon_zig...

The repository
https://github.com/rdoetjes/simon_zig...

Beating SIMON:    • Arduino plays 1978 SIMON, perfectly  

Chapters:
00:00 Intro
00:14 Explaining the logic of the buttons we will implement
01:43 Refactoring old code into a game loop
05:33 Level select implementation (gpio)
07:12 Pull up vs Pull Down
09:18 Implement the player move with timeout when no button is pressed
15:36 Implementing the button down logic, with timeout when button is held too long
18:20 Game over "light show" and adding missing return types
20:30 You Won "light show"
21:16 Building and fixing compile errors
22:57 Testing the code on the Pi Pico
23:44 Finding and fixing a tiny little behaviour bug
24:02 Playing Simon uhh Ziggy says, without sound
25:05 Conclusion

show more

Share/Embed