futgui
futgui copied to clipboard
Separate sniper logic from gui
Few months ago i've created fab repo with the plan to create autobuyer but as You can see almost year later it's still empty. Fortunately Your great project appeared so let me propose structure for futgui (just an idea so no code yet):
- part (or maybe separate project because it's probably gonna be huge): "sniper logic" api - full independent, i mean not depend on gui code so we can run this for example on linux server that doesn't want any gui. It should simply run without any changes in code - user is configuring all logic just in one file (some kind of config.ini)
- part: "gui addon" that adds gui to first part.
This idea is pretty nice, considered that it would allow also to test the logic (which now is entangled with the UI). I vote for it.
I like the idea. Interested to see how you would break out the code. All of the "bidding logic" is in core/bid.py
already. It probably would be good to pull the error handling out of the frames and put it in the core logic somehow.
The newest release has all bidding logic located in core/bid.py
with no external requirements from the frame other than the api instance, player list, and settings dictionary.