Refactor game loop to allow easy external use#16
Refactor game loop to allow easy external use#16MikeTaylor merged 2 commits intoMikeTaylor:masterfrom
Conversation
Restores the behavior that was changed in MikeTaylor#11
|
I went ahead and put that up at https://github.com/drewish/scottbot I'll work on getting a proper readme in there to make it a little clearer how to get it up and running. |
|
It's nice to see this progressing. The changes to ScottKit itself are obviously benign, and I will merge them momentarily. A couple of questions about your client code, though ...
|
|
The only reason I'm subclassing at this point is to replace Good note on the |
|
I was going to say "the only reason ever to call decompile is if you want to get a SCK". But I see from my own |
|
Right, that's exactly where I'd gotten it. I didn't realize it still came into play with the compiled files as well. |
|
Well, it doesn't really. I should wrap that use. New issue incoming. |
|
Just a note that this isn't capturing output from instructions so output from actions that call print will be lost. #32 starts to address this issue. |
This "Fixes #8" but is really just a conversation starter. It's currently rebased on #15 so we can ensure the specs pass.
Here's the hacky script I'm using so you can get and idea of how the input and output are handled: