yeti_c wrote: Captain Crash wrote:
KEYOGI wrote:I think it's justified. It is only a guide and I think it'll be handy as a quick visual reference.
I agree, different people need things explained/demonstrated in different ways.
I concur the legend is completely necessary...
XML will hopefully be done today - altho something unexpected has come up at work so busy today - but will defs be able to get most of it done!!
Initial draft done and working... now need to add the continents that remove bonus for 5 in a row and add for 7.
sully800 wrote:Actually this problem would be solved much more easily than the deck of cards map.
Let's say you want to make each 4 in a row +2 but it has to be unique beyond 1 piece (meaning 5 in a row wouldn't count as 2 seperate 4 in a rows, but 2 crossing diagonal 4 in a rows would count as 2). You'd simply have to write a +2 bonus for every 4 in a row and a -2 for every 5 in a row. You wouldn't even have to think about 6 in a row or higher because each additional peice adds a 4 in a row and a 5 in a row for no net gain. I'm pretty sure that's all correct anyway. Oh, and 7 in a row should count as 2 seperate 4 in a rows since each one would only share one piece. So You'd have to add +2 for 7 in a row.
So for the 7x6 board you have shown there would be
21 vertical connect 4s
24 horizontal connect 4s
24 diagonal connect 4s (both ways)
10 vertical connect5s
18 horizontal connect 5s
12 diagonal connect 5s
6 horizontal connect 7s
Once again, I'm pretty sure thats alright but if I made a mistake feel free to correct me. In total that would be 115 different continents you would need to include in the XML. A bit tedious sure, but you could do it with time. It's no where near the combinations you would need to make the deck of cards map work (though that map would be a bit more interesting as well).
Whilst coding this I've worked out that 7's do need a bonus...
A1, A2, A3, A4, A5, A6, A7.
This gives Bonuses of
A1234, A2345, A3456, A4567
A12345, A23456, A34567,
Plus bonus of A1234567
You have to not have 6's in the code as they will be dealt with by 5's
i.e. A123456 gives...
A1234, A2345, A3456 +
A12345, A23456 -
With 6's in you'd then also get a minus of A123456 thus leaving you with 0 bonus.
Bah - got bored at work and finished the xml off anyways!! Must get back to real work now!!
Keyogi - check your PM's so that I can send you a couple of images and the xml.
PS Cleaned up initial 3 posts into 1 as it looked messy!!!