Civ Duel Zone

Civ Duel Zone (http://www.civduelzone.com/forum/index.php)
-   ** Open thread forum ** (http://www.civduelzone.com/forum/forumdisplay.php?f=45)
-   -   Cut More Crap - Pitboss (http://www.civduelzone.com/forum/showthread.php?t=5018)

Indiansmoke 21-10-2009 09:58

Quote:

Originally Posted by Azza (Post 124748)
I don't think that world wrap affects the script, beyond adding ice to to the poles.

It has a HUGE effect on this script completely changing the game.

barbu1977 21-10-2009 14:46

The world is indeed toroïdal.

Azza 22-10-2009 06:27

Quote:

Originally Posted by Indiansmoke (Post 124754)
It has a HUGE effect on this script completely changing the game.

No, what I mean is that the map is almost exactly the same regardless of the world wrap.
I'm not talking about the effects on gameplay.

Indiansmoke 22-10-2009 12:01

Quote:

Originally Posted by Azza (Post 124775)
No, what I mean is that the map is almost exactly the same regardless of the world wrap.
I'm not talking about the effects on gameplay.

This is the difference the wrap makes

Flat wrap

x - x - x - x
| | | |
x - x - x - x
I I I I
x - x - x - x

Cylindrical wrap

- x - x - x - x -
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -


Toroidal wrap
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -
I I I I


With flat wrap the corner guy (x in bold) has 2 neighbours
With cylindrical the same guy has 3
and with toroidal he has 4.
Neighbours are in Red in each situation.

So toroidal wrap makes all 16 players have the same number of neighbours...flat wrap is the most unbalanced as corner guys will have 2 fronts and middle guys will have 4 fronts.


Edit: for some reason the I's will not stay under X's but assume each Is under each X.

Matrix 22-10-2009 14:52

1. In order to give each character the same horizontal space, use the font Courier New.
2. Website normally don't allow multiple spaces used after each other. When building a website, use " " instead of " ", but that doesn't work on a forum post. Hence the points.

Flat wrap


x - x - x - X
| . | . | . |
x - x - x - x
| . | . | . |
x - x - x - x
| . | . | . |
x - x - x - x


Cylindrical wrap

- x - x - x - X -
. | . | . | . | .
- x - x - x - x -
. | . | . | . | .
- x - x - x - x -
. | . | . | . | .
- x - x - x - x -


Toroïdal wrap
. | . | . | . | .
- x - x - x - X -
. | . | . | . | .
- x - x - x - x -
. | . | . | . | .
- x - x - x - x -
. | . | . | . | .
- x - x - x - x -
. | . | . | . | .


;)

barbu1977 22-10-2009 15:09

IICR, the [ Code ] tag can also take care of the problem:

Code:

Flat wrap

x - x - x - X
|  |  |  |
x - x - x - x
|  |  |  |
x - x - x - x
|  |  |  |
x - x - x - x

Cylindrical wrap

- x - x - x - X -
  |  |  |  | 
- x - x - x - x -
  |  |  |  | 
- x - x - x - x -
  |  |  |  | 
- x - x - x - x -

Toroïdal wrap
  |  |  |  | 
- x - x - x - X -
  |  |  |  | 
- x - x - x - x -
  |  |  |  | 
- x - x - x - x -
  |  |  |  | 
- x - x - x - x -
  |  |  |  |


Robi D 22-10-2009 15:33

Well either way i've made first contact :)

I pity the poor guy how found me;)

Azza 23-10-2009 05:12

Quote:

Originally Posted by Indiansmoke (Post 124779)
This is the difference the wrap makes

Flat wrap

x - x - x - x
| | | |
x - x - x - x
I I I I
x - x - x - x

Cylindrical wrap

- x - x - x - x -
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -


Toroidal wrap
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -
I I I I
- x - x - x - x -
I I I I


With flat wrap the corner guy (x in bold) has 2 neighbours
With cylindrical the same guy has 3
and with toroidal he has 4.
Neighbours are in Red in each situation.

So toroidal wrap makes all 16 players have the same number of neighbours...flat wrap is the most unbalanced as corner guys will have 2 fronts and middle guys will have 4 fronts.


Edit: for some reason the I's will not stay under X's but assume each Is under each X.

I know that. That was never what I was talking about. The map is always in the exact same style, regardless of the world wrap. Running the script on toroidal will generate a map that is identical to one on flat, the difference being those on the edge of the map have less neighbours because of the wrap. Apart from that, they're practically the exact same map.

Stapel 23-10-2009 09:00

Grouphug please: :grouphug: [grouphug]



No grouphug smiley?

Robi D 23-10-2009 09:45

there's this [drunks1]


All times are GMT +2. The time now is 20:20.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.