
Programming Mastermind in Python with Pygame!
Code and Assets from this project can be found here!
https://github.com/plemaster01/MastermindPygame
Mastermind is a classic guessing and code-breaking game I played all the time as a kid! We just made it in Kivy last week on the channel but since I love pygame and have had multiple requests to also do the project in pygame here we are!
If you'd like to watch me make this game in Kivy check out the last video on the channel here!
https://www.youtube.com/watch?v=LEUbLdn9hP8&t=829s
And that code can be found here:
https://github.com/plemaster01/MastermindKivy
Don't forget to leave a like on the video, subscribe to the channel, and leave a comment letting me know what I should do next!
Consider Checking out my Patreon if you want to become a super supporter of the channel! https://www.patreon.com/LeMasterTech
TIMESTAMPS:
00:00:00 Intro and Background
00:05:19 Setting Up a Basic Pygame Project
00:11:37 Drawing the Basic Screen Shapes!
00:19:55 Drawing Answer and Guess Circles onto the Screen
00:31:20 Drawing Feedback Circles and Options Circles!
00:43:42 Drawing Active Turn and Answer Hider Rectangles
00:50:35 Selecting Colors and Assigning to Guess Circles
01:00:42 Creating a class for pygame buttons!
01:09:30 Creating menu, restart and submit buttons in pygame
01:23:44 Check the player guess for correctness and provide feedback
01:40:05 Outro and Thank you for watching!
