How to use pygame and kivy
My question is not how to merge pygame and kivy screens. My problem is that I am working using kivy but in my code I added a function which runs a pygame program. When this program runs, the screen size remains the same as I defined it in the pyga code but all the items in the pygame screen shrink a bit in size and move a little bit top-left
Another problem is that when the both screens( kivy and pygame) run, they don’t respond to click on the close button.
How to form Rummy valid melds from the 13 cards of the hand using python?
I’m trying to build a Rummy game using Python. let’s suppose that the hand of a player is made of the following cards: [(‘3’, ‘Spades’), (‘5’, ‘Spades’), (‘6’, ‘Spades’), (‘7’, ‘Spades’), (‘7’, ‘Spades’),(‘5’, ‘Hearts’), (‘Q’, ‘Hearts’), (‘3’, ‘Clubs’), (‘5’, ‘Clubs’), (‘8’, ‘Clubs’), (‘Q’, ‘Clubs’),(‘6’, ‘Diamonds’), (‘Q’, ‘Diamonds’)]. I need a stratigy to follow in order to create a function that will allow to form valid melds from those 13 cards.