It has been a struggle working with AI to develop the CODE I need to get this game to the SETUP stage.
The great thing about a struggle is that you learn something.
Here, I started to learn about Unity, C# (not the music kind), how others do it, how haphazard AI can be & how great it feels when something finally works.
Some of the errors are purely my ignorance. I forget to check, or uncheck, a box, misunderstand a process, and a step here and there.
However, I think my logically approach is paying off as in my noggin I have a pretty clear outline.
Also, like many things in Life, you need to say, "No!", firmly, especially when you are dealing with AI.
I went from 3 Scripts, up to 14 quite rapidly as the AI decided to change its mind, and approach, many many times.
So, after many days of frustration I started to understand more about what needed to be done - and stuck to that Plan.
Also, remember to back up your Project - regardless as to the level of simplicity you think a modification is.
I had just wanted to change some small design steps and suddenly I found that not even the working parts were working anymore.
Here we have a simple outline for the Setup Phase for the game.
Each Player gets given 14 random Territories upon Splinterlands Land Of Praetoria.
Then, each player gets to Reinforce those Territories with an additional 12 armies.
Once again, I have the utmost respect for people who code for a living.
I also have empathy for those who code, deal with a salty audience, and are able to navigate through the salty oceans to find outcomes and adventure..
And here is the Setup Stage>
The Players have 14 Territories randomly allocated.
Then they place 12 Armies, 2 per Turn, to Reinforce the Territories they control.
A big THANKYOU goes out to @thepeoplesguild @gamesontheblock @splinterlands and "One of the Finest Gentleman You Will Ever Meet", @mattclarke
The next stage is to work out Map Territory Adjacencies, Recruiting Step (deploy new troops), Battle Step (battle for Territory) & Fortify Step (Move Your Troops in readiness for attack).
Vonak!