So I'm trying to make a Pygame platformer, and Im wondering if there is a way to open a Pygame window when a user clicks a button on a website. Is this possible? My display code:
displaysurface = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("Game")
displaysurface.fill(grey)
To clarify, I do not need an embed here. Im looking for a completely new Pygame window that pops up