All Questions
123 questions
8
votes
4
answers
984
views
3
votes
2
answers
264
views
Tic-tac-toe OOP Minimax Algorithm
I wrote a module that I intend to use in my next tic-tac-toe project. All it is is a class that stores the boardstate along with some methods/properties. The biggest thing is the minimax alg. As shown ...
5
votes
1
answer
226
views
Cellular Automata Python Class
I've been working on creating a simple Class for a Cellular Automata. It generates a grid of NxM dimensions populated by Cell objects - Pretty straightforward class to save the state of the cell-. It ...
4
votes
2
answers
264
views
Test generator I made for practice
Made this generator to practice using imports from other modules and better readability for coding. What could I have done better and what did I do wrong?
File called test_generator.py
...
2
votes
3
answers
143
views
Rock Paper Scissors with file save/load
Took me a couple days and I had to make 2 versions. Version 1.2 is better looking and more readable, with better functionality. No where near optimized though, as I know nothing about that.
Save and ...
2
votes
1
answer
197
views
Beginner Python Web scraping
I'm a newbie in programming, I chose Python. I'm learning on my own.
Currently I'm preparing code for a portfolio on github.
I will be grateful for any code review, especially in the subject of OOP: ...
0
votes
2
answers
450
views
OOP Tic Tac Toe Game
I have built a project OOP Tic Tac Toe. I am beginner-intermediate developer. Can you tell me what I can improve, what I did wrong and what to look up to? This is my first OOP project. I'm happy that ...
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 ...
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 ...
2
votes
1
answer
346
views
Tic Tac Toe game v2
I made the changes that were suggested to improve the program in the previous version.
I would like to know if there is anything to improve in terms of handling object oriented programming, variable/...
3
votes
1
answer
970
views
Tic Tac Toe in Python with OOP
I programmed the tic-tac-toe game in Python using object oriented programming and I wanted to share it here to get some feedback
...
5
votes
2
answers
216
views
OOP Matchsticks Game [Update]
I made the changes that were suggested to improve the program in the previous version. I would like to know if it is decent now or is there something to tweak.
...
7
votes
2
answers
2k
views
Rock, Paper, Scissors game in Python with OOP
I am still practising object oriented programming and I decided to do the rock-paper-scissors game as a project.
I listen to constructive criticism to improve the program.
...
5
votes
1
answer
1k
views
Matchsticks game in Python
I made the following game in Python applying object oriented programming and I would like to know if there is something to improve.
PS: My native language is Spanish, if you see something wrong ...
2
votes
1
answer
1k
views
Hangman game in Python with OOP
I made the hangman game using OOP. It is the first "big" project I do using OOP. I would like to know if there is something to improve in the program I made.
This is the code:
...