finite state machines

I've been trying to learn how to make my pygame code not bad. https://gameprogrammingpatterns.com/ by Robert Nystrom is pretty nice. I've done some learning with that book, particularly being in the middle of a project using state machines. This is making me a bit annoyed with python. I've been wanting to learn Rust to a non-trival degree for a bit now (because new languages really rewire the…