Python 63 - Keep trying ...
Let's move some more Game responsibilities closer to where they belong. (It goes better this time!)
https://ronjeffries.com/articles/-y023/python/-t060/063/
Python 64 - A little bit more ...
We must be pretty close to done in our quest to move responsibilities down to Fleets, Fleet, and flyers. Also some generic Python thoughts.
https://ronjeffries.com/articles/-y023/python/-t060/064/
Python 65 - Can I find a small step?
It's afternoon and I have some distractions. I'd be wise not to try anything, but maybe I can find some tiny safe steps.
https://ronjeffries.com/articles/-y023/python/-t060/065/
Python 66 - Refactoring Complete?
We'll finish up our refactoring of the checking methods down into Fleets and lower. Quite a few odds and ends, none of them difficult. A noticeable improvement to Game.
https://ronjeffries.com/articles/-y023/python/-t060/066/
Python 67 - Looking Around
We do a bit of review of the code today, and we find some nice improvements.
https://ronjeffries.com/articles/-y023/python/-t060/067/
Python 68 - Design Issues
Thinking about some design issues, some good, some maybe not so good. Seven footnotes, none useful.
https://ronjeffries.com/articles/-y023/python/-t060/068/
Python 69 - TIL. Well, YIL.
I learned something new, and apply it. Also I have an idea of my own. Will wonders never cease!?!?
https://ronjeffries.com/articles/-y023/python/-t060/069/
Python 70 - Loose Ends
I have some loose end notes in my keyboard tray Jira. Let's have a look at some of them.
https://ronjeffries.com/articles/-y023/python/-s070/070/
Python 71 - Let's have some fun!
I almost always have fun here, actually, but today let's explode the ship. That should be a good exercise for the Fleet-based design.
https://ronjeffries.com/articles/-y023/python/-s070/071/
Python 72 - Better fragments
We have some rudimentary fragments. Let's make some better ones. I spend ages tweaking numbers.
https://ronjeffries.com/articles/-y023/python/-s070/072/
Python 73 - WAY over the top!
Today I plan to add gold to the gilded lily, in the form of still more enhancements to the Ship's explosion. Unjustified, but I plan to be amused by the result. And I am.
https://ronjeffries.com/articles/-y023/python/-s070/073/
Python 74 - That method
I want to take a look at the explosion, especially the draw method and see how we can clean it up. Many many tiny steps FTW! (Long, detailed.)
https://ronjeffries.com/articles/-y023/python/-s070/074/
Python 75 - Before / After
Just the before and after versions of the refactored Fragment classes. Lurvely.
https://ronjeffries.com/articles/-y023/python/-s070/075/
Python 76 - Avoid subclasses
While I am OK with the subclass design, I think we can do better. Also "Replace polymorphism with data."
https://ronjeffries.com/articles/-y023/python/-s070/076/
Python 77 - A tiny Language
We want to get rid of the GFragment class. To do that, we have to get a little head.
https://ronjeffries.com/articles/-y023/python/-s070/077/
Python 78 - Position?
What if there was some sort of Position object?
https://ronjeffries.com/articles/-y023/python/-s070/078/
Python 79 - More Position
We'll continue plugging in the MovableLocation, but I think it may need a better name.
https://ronjeffries.com/articles/-y023/python/-s070/079/
Python 80 - What Now?
I want to while away a little time. What can we find that's right-sized?
https://ronjeffries.com/articles/-y023/python/-r080/080/
Python 81(May 13, 2023)I need a distraction. Let's look for one.
https://ronjeffries.com/articles/-y023/python/-r080/081/
Python 82 - A Feature!
I need another distraction. What's in "Jira"?
https://ronjeffries.com/articles/-y023/python/-r080/082/
Python 83 - Hyperspace Failure
Let's see if we can make hyperspace more dangerous.
https://ronjeffries.com/articles/-y023/python/-r080/083/
Python 84 - Sound!!
As one would hope, sound generation in pygame is pretty simple. I managed to work out the basics all by myself. Well, myself and the entire Internet.
https://ronjeffries.com/articles/-y023/python/-r080/084/
Unfortunately no recording in the article. Need more tools.
Python 85 - Stereo
TIL that I had my speakers swapped left for right. And how to do stereo in pygame.
https://ronjeffries.com/articles/-y023/python/-r080/085/
Python 86 - Further Sounds
Let's put in some more sounds. I anticipate little trouble. Even here, we learn some interesting lessons.
https://ronjeffries.com/articles/-y023/python/-r080/086/
Python 87 - Saucer Beats
I've been perusing the ancient scrolls, i.e. the Github repo of the original asteroids code. Some notes on what I think I understand so far, then some code. Repeat. Success!
https://ronjeffries.com/articles/-y023/python/-r080/087/
Python 88 - Design Possibility
I really liked the "decentralized" version of Asteroids that I did in Kotlin. Thinking about doing it again, in Python. Refactor to a new design? Why not?
https://ronjeffries.com/articles/-y023/python/-r080/088/
Python 89 - Decentralization
Some detailed thinking on how to refactor to a decentralized model. With any luck, some starting code. But I do feel the need of the thinking part.
https://ronjeffries.com/articles/-y023/python/-r080/089/
Python 90 - More Decent
-ralization. Just a picture of the relationships of some of the objects to start. Then a question: a world record? Guinness, where are you? And then: progress!
https://ronjeffries.com/articles/-y023/python/-q090/090/
Python 91 - Moving toward better
The double dispatch is doing its job. Let's see about cleaning up the references to fleets and whatever else comes to mind.
https://ronjeffries.com/articles/-y023/python/-q090/091/
Python 92 - Need an Idea Here
As I move toward the decentralized model, I need some thinking about next steps. But first, an interesting test.
https://ronjeffries.com/articles/-y023/python/-q090/092/
Python 93 - Something Small
I'll do a small change, then see what comes to mind. As long as we keep moving in roughly the right direction, we're good. Thoughts on small steps.
https://ronjeffries.com/articles/-y023/python/-q090/093/
Python 94 - Inch by Inch
We make more small changes in the direction of independent objects interacting to make the game emerge. Let's experiment with full interaction.
https://ronjeffries.com/articles/-y023/python/-q090/094/
Python 95 - Something Small?
I am oddly without a plan this morning, even my tentative sort of plan. Be prepared to read my sort of thinking. I hit a few bumps but not major ones.
https://ronjeffries.com/articles/-y023/python/-q090/095/
Python 96 - Shhhh
I am going to do a thing, and then another thing. Don't tell Hill about the other thing.
https://ronjeffries.com/articles/-y023/python/-q090/096/
Python 97 - Small Things
While sitting in a mostly boring on-line session, I'll do some small safe changes.
https://ronjeffries.com/articles/-y023/python/-q090/097/
Python 98 - The "Events"
Let's put the full interaction protocol in place, so that more of our special Flyers can operate.
https://ronjeffries.com/articles/-y023/python/-q090/098/
Python 99 - Special? How?
What additional special objects do we need, and how might they work?
https://ronjeffries.com/articles/-y023/python/-q090/099/
Python 100 - Small Steps Forward
I think I'll start by counting missiles in the Ship and probably Saucer. Then we'll see what's next. The thing is to keep stepping toward the larger goal. Some interesting [mis-]steps.
https://ronjeffries.com/articles/-y023/python/-p100/100/
@RonJeffries
I dunno but this seems a bit specialised for a 101 class
@chrisfcarroll 🤡