Timeline for Shop system for an RPG in Python
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 4, 2021 at 23:10 | answer | added | Willi Flemming | timeline score: 1 | |
Dec 29, 2020 at 13:01 | answer | added | Luke Bryant | timeline score: 4 | |
S Dec 29, 2020 at 0:21 | history | suggested | CommunityBot | CC BY-SA 4.0 |
more useful title
|
Dec 28, 2020 at 23:59 | review | Suggested edits | |||
S Dec 29, 2020 at 0:21 | |||||
Dec 28, 2020 at 20:02 | comment | added | bob | The same goes anywhere else that pattern is used in your code. | |
Dec 28, 2020 at 20:00 | comment | added | bob |
Be aware that your if shopChoice == '1' , if shopChoice == '2' , etc. if-blocks aren't exclusive as written; if somehow in the body of one of those blocks you accidentally modify the value of shopChoice , or if you modify any of your conditions to make them more complex and add a bug, you could wind up having more than one of those blocks executed, which I'm guessing isn't what you want, and which could be a confusing bug to encounter. I think instead you want those to be an if-elif-else chain. That way it is guaranteed to only ever execute one block.
|
|
Dec 28, 2020 at 15:15 | comment | added | Toby Speight | Micro review - I think you've misspelt "Elixir" throughout. | |
Dec 28, 2020 at 9:00 | history | tweeted | twitter.com/StackCodeReview/status/1343481833015701505 | ||
Dec 28, 2020 at 6:59 | history | edited | AJNeufeld |
Tags
|
|
Dec 28, 2020 at 6:58 | answer | added | AJNeufeld | timeline score: 12 | |
Dec 28, 2020 at 6:46 | history | became hot network question | |||
Dec 27, 2020 at 23:38 | answer | added | Lev M. | timeline score: 23 | |
Dec 27, 2020 at 22:18 | review | First posts | |||
Dec 28, 2020 at 6:29 | |||||
Dec 27, 2020 at 22:16 | history | asked | user235273 | CC BY-SA 4.0 |