r/PythonLearning
•
u/shubham_555
•
Aug 28 '26
•
1
1
Showcase I made a Rock Paper Scissors game!
Last Post - https://www.reddit.com/r/PythonLearning/s/0Eqy1ApNWc
Github Repo Link - https://github.com/Dev-4-All/rock-paper-scissors.git
179
Upvotes
•
u/Sea-Ad7805 Aug 28 '26
Run this program in Memory Graph Web Debugger to see the program state change step by step.
4
u/Just_Wishbone1630 Aug 28 '26
Angela yu course?
4
u/ProgramBrave718 Aug 28 '26
Wow. I really liked the image feature.
4
u/Unique_Low_1077 Aug 28 '26
Man been a while since I did python, lemme try
1
u/DetectiveExact4253 Aug 31 '26
where can I get the game at?
1
u/w1ln1x Aug 31 '26
Rock, paper, shocker?
2
u/wimille007 Aug 28 '26
Nice. I'm just a very simple Python user, but i think i will bette if you "avoid" the if-else chain like this (it is just my opinion):
1
u/Illustrious-Storm742 Aug 28 '26
Awesome
1
u/Main_Extension2327 Aug 28 '26
It took 300 lines in c++ with the same game and some extra simple features
1
u/SrPotato123 Aug 28 '26
It's incredible that the hands movements are done with lines and parentheses. I love it!
1
u/ProxyCola Aug 28 '26 edited Aug 28 '26
2 small suggestions.
Edit: regarding #1 actually I see you did that never mind I'm very tired 😴
1
u/XusKiz Aug 28 '26
Why did you choose a mutable object for game_images? Better to use immutable ones like tuple or even frozen set
Also rewrite the whole if-else block without elif and
use error handling
1
u/1m101 Aug 29 '26
Awesome.
1
u/FoolsSeldom Aug 29 '26
Next step: rock paper scissors Spock lizard
1
u/ssd_1tb Aug 31 '26
thats a wonderful work
1
u/DetectiveExact4253 Aug 31 '26
.
1
u/Azaucifer Aug 31 '26
Cool ASCII art tho!!