Python and Pygame: Creating a Simple Flashcard Program

preview_player
Показать описание
I've rewritten my original flashcard program (I have left a link to it, below). I've done this, in part, because I forgot to include video of what that program looked like when it ran. (Thank you to the commenter who pointed this out to me!)

In this video I give an overview of the code, going into more detail for the important bits. I've uploaded all the files to GitHub, please do ask if you have any questions, I will get back to you.

00:00 - Intro and what the flashcard program looks like when it runs.
00:55 - Stepping through the code.
01:07 - Looking at the def main function.
02:00 - How to position a window.
02:35 - How the data files are structured.
03:00 - Coding the quiz.
05:18 - The main function of the quiz module.
05:28 - The handle_events method.
07:30 - The draw function.
08:09 - Outro

Link to my original flashcard video:

Here is my code on GitHub:
Рекомендации по теме
Комментарии
Автор

Thanks for the video. I am a beginner. I want to know how the program decide which answer is correct. I couldn't decipher it. Thanks very much!
Also, I am thinking about building a simple 'anki' styled card program. I am think if I can move('write') cards to an easy csv file and delete the original one from the original csv file.

furniturechu
Автор

Do you think this will be complex enough for my a level computer science project?

jordog
join shbcf.ru