lithekod / snake-ribs

A simple python code skeletons for making games.
MIT License
0 stars 2 forks source link

Cleanup #10

Closed FredTheDino closed 3 years ago

FredTheDino commented 3 years ago

This PR has some long awaited cleanup in it. Nothing is brand new, stuff has just moved.

There is one thing I'm kinda wondering about, and that's how I implemented the update() function. Having the yield there makes it intuative how to:

It is a tricky language feature, but it reduces SOOO MUCH BOILER PLATE HERE. I just couldn't resist. Lemme!