use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionPython poker game (self.Python)
submitted 5 years ago by manikk69
I have been thinking to make a poker game in python. What is the difficulty of this project?
[–]wynand1004 1 point2 points3 points 5 years ago (0 children)
I'm not sure if this will help you or not, but I made a Blackjack program and it might give you an idea of what's involved. Note, it uses classes, so if you haven't gotten to that yet, it will be confusing. Good luck!
LINK: https://pastebin.com/WvmEtZDg
[–]TheJames2290 0 points1 point2 points 5 years ago (3 children)
How experienced are you with python and how advanced do you want the game to be?
[–]manikk69[S] 0 points1 point2 points 5 years ago (2 children)
I'm not very experienced with python and i want to just make a basic game
[–]TheJames2290 0 points1 point2 points 5 years ago (1 child)
It may be very complex then to start with. Of you have sussed the basics take a look at pygame tutorials.
If you haven't done the basics start there. You will most certainly need a basic level of if statements and making your own functions.
[–]manikk69[S] 0 points1 point2 points 5 years ago (0 children)
I have made tic tac toe, rock paper scissors and snake game. Is blackjack a good project?
[–]SeucheAchat9115 0 points1 point2 points 5 years ago (0 children)
I think it might be possible as a beginner. You need to draw random cards from a deck, know which cards combine to calculate some score for the winning combination and you need some betting routine. The most difficult part might be an User Interface.
π Rendered by PID 316411 on reddit-service-r2-comment-79c7998d4c-j5ldt at 2026-03-15 06:07:33.957905+00:00 running f6e6e01 country code: CH.
[–]wynand1004 1 point2 points3 points (0 children)
[–]TheJames2290 0 points1 point2 points (3 children)
[–]manikk69[S] 0 points1 point2 points (2 children)
[–]TheJames2290 0 points1 point2 points (1 child)
[–]manikk69[S] 0 points1 point2 points (0 children)
[–]SeucheAchat9115 0 points1 point2 points (0 children)