Timeline for A Text-Based Game
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 20, 2022 at 6:00 | history | tweeted | twitter.com/StackCodeReview/status/1594208932347641856 | ||
Nov 20, 2022 at 0:54 | vote | accept | Voreto Robert | ||
Nov 20, 2022 at 0:40 | history | became hot network question | |||
Nov 19, 2022 at 23:33 | answer | added | Arcanist Lupus | timeline score: 11 | |
Nov 19, 2022 at 18:49 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 4.0 |
Remove thanks in advance - we say thanks by voting- see https://codereview.stackexchange.com/help/someone-answers
|
Nov 19, 2022 at 16:47 | comment | added | Voreto Robert | @Josiah That's OK because in the game you only need to fight once with every enemy until you get to the boss. | |
Nov 19, 2022 at 16:43 | comment | added | Josiah |
I don't have time for a full review right now, but wanted to mention one possible bug. You keep using the pattern of loot = random.randint(0, 2) . That random call will get run once at class definition, which means that all your gnomes will have the same amount of loot as all other gnomes. If that isn't what you want, you'll need to move the randint call somewhere that gets run repeatedly, such as an __init__ method.
|
|
Nov 19, 2022 at 16:40 | history | edited | Voreto Robert |
edited tags
|
|
S Nov 19, 2022 at 16:34 | review | First questions | |||
Nov 19, 2022 at 18:49 | |||||
S Nov 19, 2022 at 16:34 | history | asked | Voreto Robert | CC BY-SA 4.0 |