a) made swig interface file. yeah, you actually have to write this file for swig to work normally (you can just use the header file, but CMake doesn't really like, actually run swig when I tried it that way). b) python complains if there are ANY undefined symbols, so had to remove this undefined function
added logic to generate swig python bindings
and, make git not complain about some clutter
okay, run this (python game.py) and you get... exactly what you would expect
okay, two things: 1) fixed rate and rounds arguments, these can be used now. 2) q still sends a sigterm, but this like, doesn't do anything, the code keeps running and python doesn't give a fuck. To quit, you currently should send TWO keyboard interupts (control-c) from the shell)
actually, this appears to have fixed timing issues?
...
minor changes to naming, because a separate interface.py is about to be a thing
there
so, this works: inheritance of the interface wrapper generated by swig, meaning we should be able to shadown methods for gradual change
er changed to this
trying to make more stuff visible to python so more can happen there
these don't necessarily work yet
yeah
yeah
maybe this helps?
still trying to get this working
yeah
yeah yeah
rough outline of how this api could be set up?