The most useful python modules for beginnersNot long ago, I was a beginner to python. I was eager to make games, but had a hard time finding how to create certain elements of the game, such as c
Latest comments view all › Still Got Problems with It Even Tho I Typed It The Same Way The random choice one would be useful in my past visual novel, because the enemy could only attack, even though three actions were possible. If I create a list with the possible actions, it can be chosen randomly, making him either attack, attack strongly or guard, which were the three possible actions.
Alternatively, I could use randint and just code the actions the enemy could use as 1, 2 and 3, rather than making a list for the code to choose from... No idea why I didn't think about this befo