Today in Programming: Python and Scratch
By EricMesa
- 2 minutes read - 271 wordsScratch
Once again I worked on some Scratch projects with the kids. This time it involved a sports theme. I let the kids choose which games they wanted to create and Sam chose to create the game where Scratch the Cat goes Skiing.
Having done this for a few weeks now, it wasn’t too much trouble to get things working and do a mod or two for Sam. The video below contains the code and a short video of Sam playing the game.
Stella chose to create the Penguin Soccer game. This was the first two-player game we made. We had a weird situation where no matter what I did with the code, the ball would float around. Eventually I had to just reload the original file and start over. It’s possible that Stella hit a button while I was trying to read the instructions and altered “gravity” or something. At any rate, it was pretty easy to get going and make her mods as well. I continue to be amazed at what can be created in Scratch.
https://youtu.be/n_oaj2ZgUUw
Python
Today I upgrade my main Linux computer to Fedora 32, giving me access to Python 3.8. I tried to upgrade my virtual environment and it’s possible I did something wrong, but I had to reinstall all of my packages.It’s not the end of the world, but a little annoying. I guess it’s a good thing I had set up a good requirements.txt file. Last week I did some work on my Extra Life Donation Tracker - working towards my version 5.0, but I forgot to document it on the blog.