Good idea. I did consider that earlier, and I am definitely going to use a variable for the number of sides instead of hard-coded sections.
I'm just listing the shapes it will currently work with, because having a shape with n
sides requires the GUI to display n
* 2 output fields. This may require quit a lot of output if n
=100 or some number greater than say 10.
I had to put a reasonable limit at 10, but this may be altered in future versions if I decide to take on a greater challenge.
10 seems to be a decent limit as it looks somewhat like a circle on radar, even at large values of X and Y. Also, my little calculator will draw the shape and give output inside color-coordinated boxes, so making this virtually unlimited would be just too great a challenge for me now. I'm still an amateur programmer.
Thanks for the input!
As for shapes, I hope someone can give me a few shapes they'd like to see as hollow objects. Such as a cross, or a star, where tanks can explore inside.