Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using pygame instead of ttkbootstrap #61

Open
MarouaneMebarki opened this issue Feb 17, 2024 · 1 comment
Open

Using pygame instead of ttkbootstrap #61

MarouaneMebarki opened this issue Feb 17, 2024 · 1 comment

Comments

@MarouaneMebarki
Copy link

i wonder if you still have passion for this project
im intersted in the live match simulation
i worked on it by myself in my old project , dont you think pygame should be a good choice ?

@sturdy-robot
Copy link
Collaborator

Hi! I'm still working on this, yes. I'm currently implementing the Substitution system, with an UI and controllers, it's taking me a while because of other projects and my full-time job.

Well, pygame is well suited for some things that require real-time interaction, updating the screen frequently. Since the match simulation here is done using a Markov Chain with a status manager, and I've only implemented a text-based simulation, there's not much need for pygame here.

Pygame could be a good choice for implementing a prettier interface to view and change formation, or even to implement a 2D match simulation, but I think it's quite a hassle to work with when it comes to basic GUI interaction. Implementing a 2D simulation is another beast entirely, and this could be a feature to work on in future updates, after I complete the basic features and release my MVP.

We don't need to dump ttkbootstrap altogether, pygame could work alongside ttkbootstrap to implement these things as well.

I've been exploring other options lately, like implementing an interface using JS and using pywebview + Flask to create an application. But for now, I'm sticking to ttkbootstrap to finish the MVP, and try to make the core as GUI-independent as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants