All Questions
543 questions
8
votes
2
answers
964
views
Python OOP game of Hangman
I am currently learning object oriented programming in Python.
I attempted writing an OOP program for hangman, and while the program is functional, I just ended up writing a very long class method. ...
9
votes
3
answers
2k
views
Solver for Wordle puzzle
After a success with the Jumble puzzle solver, I am doing a Wordle puzzle solver. I know many other Wordle solvers have been posted, yet this is my original version, which emphasizes list ...
9
votes
3
answers
2k
views
Command Line Hangman game
I've completed a Hangman game in Python and was wondering about the formatting of this code. There were several functions that I switched around while making this, and there were several times where I ...
7
votes
1
answer
293
views
Connect Four GUI with various board sizes and extra options
I've created a Connect Four game implementation, where I'm mostly interested in improving the GUI design. While not a software engineer by trade, I aim to create practical tools for my colleagues. ...
8
votes
2
answers
956
views
2D block game like Minecraft
I have been working on a 2D block game. I like the progress I am making, but I would like to improve the performance and the overall quality of the code. The code and textures are stored in my GitHub ...
7
votes
1
answer
104
views
Pygame self-made sprite loader
I just wanted to put this out here and see what people think and potential improvements I could make. I've been learning spritesheets in pygame as I was really scared to use them as I thought they ...
7
votes
2
answers
817
views
Numerical cellular automaton way of simulating water, fire or smoke
I have made up some evolutionary rules for a type of cellular automaton that uses numbers instead of the more common binary black or white cells.
Rules in English:
Takes place on a square grid that ...
5
votes
2
answers
219
views
Tetris logic for interview
I would appreciate feedback on the code below which I created during an one-hour live interview session. In particular, while the interviewer pretty much said nothing during the interview, their ...
6
votes
4
answers
196
views
Deck Value Bet-Like Game
I have just gotten into Object Oriented Programming and I've been practicing it through Python. But I think I still haven't clearly grasped how it should be used effectively. I've created a game Using ...
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 ...
4
votes
2
answers
162
views
"Element Fusion" game where 2048 meets Chemistry
I've developed "Element Fusion," a PyGame-based game inspired by 2048 but using chemical elements. I'm seeking feedback on:
Gameplay mechanics
Code structure and efficiency
PyGame ...
3
votes
3
answers
902
views
Basic python rock papers scissors game (first code)
I'd just appreciate if anyone can suggest some incremental improvements that would help me to think better like a coder.
Here is the very basic RPS (rock, paper, scissors).
One thing I may next add is ...
3
votes
2
answers
188
views
BlackJack in python
I began creating blackjack in python; however, I'm looking to simulate it, so I'm thinking I'm going to need to optimize it so that I don't just leave my computer running for three hours waiting for ...
4
votes
1
answer
198
views
Dial up some obscure stats for the Chutes and Ladders game
Years ago, I wrote some code in Perl
for the Chutes and Ladders game. I re-wrote the code here in Python.
The code simulates one player in a game to see how many spins of the dial
are needed to win ...
1
vote
0
answers
119
views
Text-Based Multiplayer RPG Engine using Flask & React
As a final project for a software engineering bootcamp, I decided to make a text-based multiplayer RPG game engine. Using Python, Flask, & Flask-SocketIO for the backend and React & TypeScript ...