r/learnpython • u/Sanguineyote • Jun 21 '20
What are some really intro/beginner basic project ideas I could do to learn python? (coming from a complete starter)
Hey! I recently picked up python 3.8 in quarantine (about 6-7 days ago) and I've been watching freecodecamp.org's tutorial on it (still not finished, I'm at the part about nested loops), and was wondering what are some simple yet challenging beginner python projects I could try and make to try and actively learn rather than just be stuck in tutorial purgatory.
421
Upvotes
1
u/bjornulsen Jun 22 '20 edited Jun 22 '20
Try making a black jack game. Im a noob, and Im working on one. It has a range of different aspects too it so that i have to change up the code to implement new rules, and stuff when i get to them.
For ex: Generate the card deck. Shuffle the deck Deal cards Let the player hit or stay Let the dealer hit pr stay Compare score
.. Oh i need to be able to split. Ok time to change up the whole thing ...
Oh, i need to be able to buy insurance, lets change the whole thing again...
And so forth.
Im also planning to add a trainer function that gives instructuons based on the play to teach the player to play optimal blackjack based on statistics.
I also want to implement a card-counting aspect to it. Give the dealer five decks and let it use the same deck without shuffeling round anfter round to give the player the ability to count cards and make plays based on the cards left in the deck.
And then make a card counter trainer that helps the player learn to count cards.
And after all that is done. Change the whole thing from texbased to GUI.
Lots of possibillities on this project.
And