Closed dharamsk closed 7 months ago
I was thinking my changes to display_waste() might need to be updated in the documentation: https://flet.dev/docs/tutorials/python-solitaire and in the earlier steps of the tutorial but I can't find where the source is for the tutorial.
Thank you! It works now!
Thanks @FeodorFitsner. Really appreciate this project. Made it really simple to get something from nothing with no UI/Frontend experience 🙌🏼
I'm happy to update the tutorial also though I think the repo might be private? https://flet.dev/docs/tutorials/python-solitaire
There's an "edit this page" button at the end of that page. You will land on the corresponding file from there.
There's an "edit this page" button at the end of that page. You will land on the corresponding file from there.
Ooh excellent, thanks, I totally missed that 🤦♂️
Addresses the following solitaire tutorial bugs:
assert self.__page, "Control must be added to the page first."
Fixes applied:
I also modified display_waste to function according to normal solitaire rules for 3-card stock draws, and hopefully simplified the behavior.
Note: In one of my early playthroughs, the 9 of spades went missing and I couldn't finish. I never figured out how/why.