Penjee.com 's Blog

Python for Middle Schoolers . Keep It simple, Visual and process oriented

As you know, here at Penjee we’re a big fan of learning Python as your first programming language! For the last 5 years or so, there has been a big push to teach block based coding  like Scratch to middle schoolers.  And while, many middle schools continue to use these drag and drop programs like Scratch ,   kids … Continue reading Python for Middle Schoolers . Keep It simple, Visual and process oriented →

RandomLetterChoose AP A-thoughts and analysis

One of the 2016 AP Computer Science A questions, [crayon-6766f5f2db365595015095-i/] ,  asked students to write a class declaration from scratch. The constructor receives a parameter of non-null Strings The class has a [crayon-6766f5f2db369576773656-i/]  method that returns a random [crayon-6766f5f2db36a855742364-i/] from that list . Each element in the list can only be returned once, and after all of the elements … Continue reading RandomLetterChoose AP A-thoughts and analysis &rarr...

Mouse Clicked on Image in Pygame

So, now that our image can animate and wrap around the screen, let’s try to click on it! First, though we should just take moment to learn about how the mouse itself works in pygame. The important new lines which are now part of our game loop is to constantly look to see if the mouse click … Continue reading Mouse Clicked on Image in Pygame →