My own news, of sorts...

By ianediger, in Star Wars: Armada

Since we haven't had any news for a while, and since it's been a slow day at work, I've decided to give a sneak peek at my most recent project for Armada:

The Star Wars Armada Campaign Assistant!

IMG_20160920_151232855_zps536dwu8s.jpg

The purpose of it is to give a reusable map while displaying names and what teams who is on.

Here's a look at the code as it currently stands.

IMG_20160920_151216928_zpshsbrjbio.jpg

More updates to follow as I get more stuff done!

You could reduce those entire elif blocks to a loop and make the names an array

while (x=0; x < num_players, x++)

{

Imperial_player_Name[x] = input("Enter the name of..." + x);

}

That is pseudo code- I'm out of practice :)

You could reduce those entire elif blocks to a loop and make the names an array

while (x=0; x < num_players, x++)

{

Imperial_player_Name[x] = input("Enter the name of..." + x);

}

That is pseudo code- I'm out of practice :)

My code is a combination of "Oh God, what am I doing" and "I think this is right" since I'm still learning Python.

haha no worries :) Gotta start somewhere! Maybe a good opportunity to learn about arrays and loops now- you could reduce those blocks of code to just a few lines. I should've known it was python- not a curly brace as far as the eye can see! I haven't written code in many years though.

Edited by WWPDSteven