On Tue, 2015-06-30 at 12:48 -0700, Michael wrote: > I actually coded my own pong game, I forgot to add a pause menu though. > However, I still need to know how to code in 'combat' (die rolls, > causalities ETC.) > Movement of troops > and still alll the others listed above.
As said, these things will be covered in various tutorials, you just have to work out how to apply them to your project. For example: # Die Roll roll = random.randint(1, 6) # Causalities num_lives = 5 # When unit is hit... num_lives -= 1 if num_lives < 1: # Unit is dead And so on... If you follow a couple more tutorials and get started, then come back when you have some more specific questions, people will be happy to help you solve some problems. But, your current questions are essentially, 'how do I make a game?' which is better answered through the various tutorials on offer.
signature.asc
Description: This is a digitally signed message part