+ 2

{stuck in progress} a little shifumi game

so i've made this little game in python (wich is pretty basic, but it works...) https://code.sololearn.com/c1UjocrZWRcB I wanna add a counter for games, victory, and a ratio win/game I tried a lot of things but I'm still new to python, and coding in general, so i've kept 3 possible solutions : - my code is too "autoefficient" for a stat counter, and i need to simplify it to do so - the solution is easy but i'm not in the right mindset to see it, cause i'm too focused on my vison of the code - the solution is possible to find (easy or not) but I don't have the knowledge to find it since i'm still so fresh in coding. (or it can be a mix of those...) if someone was kind enough to help me it will be very nice :) Just remember the fact that code playground is good to test things, but not so great to run a "real" program. If you have a python console it will be waaay better to look at and to use ! I'm mostly looking for some feedback or advice on the code or potential improvement :)

7th Mar 2018, 12:40 AM
Clement combes
Clement combes - avatar
2 Antworten
+ 1
hi again :) I was watching the Lion King this afternoon, and the circle of life made me think of a solution for my counter situation. So, it's not quite what I wanted, but it works and at least it's something. If someone have an idea to get something more... I don't know, clean ? neat ? well please do share ^^
7th Mar 2018, 11:06 PM
Clement combes
Clement combes - avatar
0
is genius
7th Mar 2018, 1:56 AM
fabiano haupczinski
fabiano haupczinski - avatar