Topic List | Page List: 1 |
---|---|
Topic | ITT: Learning Python |
SomeLikeItHoth 08/18/21 5:51:13 AM #158: | SpiritSephiroth posted... I'm going to implement more into the code to make it more complexWhat you could do is start everyone off (including yourself) with a certain amount of HP. Player = 50 Enemy_# = 10 Boss = 15 And then you could use the random feature to randomize attacks. Attack = random.randint(0, 10) Now every time either you, one of the enemies, or the boss uses an attack it'll take a random amount of HP away. --- FAM FOREVER. ... Copied to Clipboard! |
Topic List | Page List: 1 |