Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
9 votes
7 answers
1k views

Rudimentary black jack game implementation

I started the 100 Days of Code: The Complete Python Bootcamp about a week ago. I finished day 11, and I wrote a rudimentary blackjack game. I'm just looking for some advise on how I did. Am I showing ...
Wazeewa's user avatar
  • 91
1 vote
1 answer
163 views

Simple Blackjack game

This is my simple Blackjack game made in Python. I would love some feedback to write better code. ...
Daniel Russ's user avatar
3 votes
2 answers
166 views

Simple Blackjack Card Game - First OOP Code

Blackjack card game with hit and stand. I wasn't allowed to use functions outside of classes in the code. I had some difficulty with __str__ dunder method on ...
Beginner's user avatar
  • 199
1 vote
2 answers
116 views

Object-Oriented Blackjack V2

[Edited] formatting and Flake8 linter corrections Four days ago I posted my first object oriented programming project. Everything I have learned to date is self-taught and posting project to receive ...
Infinite Grasp's user avatar
3 votes
1 answer
504 views

Blackjack game in python w/ bot

I am a beginner programmer and this is my first project, a blackjack game with a functioning dealer in python. Any feedback would be appreciated (especially if its about bot improvement). ...
Sukrit Desai's user avatar
3 votes
1 answer
413 views

OOP Blackjack in Python 3.9.9

I've noticed I'm not the first to post this topic. As a matter of fact, I have taken some inspiration from Victor Nguyen Bao's post to help structure my code. Here's the link to his code: Structured ...
BitEagle's user avatar
2 votes
1 answer
146 views

Main loop for a text-based Blackjack game

Is there any way to reduce this code? It repeats itself, but I cannot find any way to reduce it because it is only repeating inside one elif. Sorry I'm a beginner my code is quite bad It repeats here: ...
Tassanix's user avatar
5 votes
1 answer
1k views

Python code for UNO Game

I've been learning Python for a couple of months, and I decided to have a go at a small project that I felt able to complete on my own: a version of the card game UNO, using PyGame for the graphical ...
Fernando Manzanares Preciado's user avatar
1 vote
3 answers
136 views

My first code: Blackjack game

After just learning a bit of Python, I tried coding something myself. I attempted to do a game of Blackjack, which is far from perfect, and still doesn't have some rules a real game has (in my game an ...
GyroGoober's user avatar
5 votes
1 answer
180 views

Simplified Blackjack in Python

I just started learning python a couple of weeks back from and like many others here, I too seek feedback on my simplified Blackjack game. I would like to know if the code could have been more elegant/...
Digvijay Rawat's user avatar
8 votes
2 answers
699 views

My third game - Poker hand strength analyzer

I'm writting this poker hand evaluator and it's really coming along. But, as you can see I repeat myself many times and I would love to know what's your thought process when you're repeating yourself? ...
Python Novice's user avatar
9 votes
2 answers
2k views

My second game: War Card game V.1

I'm a beginner programmer that's really motivated at the moment. I made this in two days and I'm really proud of it because I never used any tutorials or any online help. Just good ol' grey matter and ...
Python Novice's user avatar
4 votes
2 answers
273 views

Command-Line Poker Showdown

Further-developed followup to this question Python beginner here. I created a command-line program that generates poker hands (5-52 cards) and compares their strength. On my Macbook Pro, it ...
Alec's user avatar
  • 425
5 votes
1 answer
240 views

Blackjack game - follow-up

This is an updated version of my previously posted "Blackjack game made in Python 3". I think I did almost everything @Austin Hastings recommend me to do and I hope you like it. ...
Maria Laura's user avatar
7 votes
1 answer
2k views

Blackjack game made in Python 3

This is a simple blackjack game I finished making using Python. I hope you like it and I'm open to any suggestions or critiques you would give me. ...
Maria Laura's user avatar

15 30 50 per page