[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Non-square maps should always be landscape, never portrait.

It is currently Sun Jan 21, 2018 2:46 am Advanced search

Non-square maps should always be landscape, never portrait.

Ideas for the Future

Non-square maps should always be landscape, never portrait.

Postby erdman » Wed Nov 09, 2011 8:40 pm

When the number of rows and columns are unequal, the greater dimension should be horizontal (ie more columns).

Landscape maps make more efficient use of the screen in the visualizer, and the same replay can be viewed with greater magnification than when displayed portrait.

This can be remedied by swapping columns and rows in portrait maps either in the map generator or in the visualizer.
erdman
Major
 
Posts: 34
Joined: Thu Oct 27, 2011 12:52 am

Re: Non-square maps should always be landscape, never portra

Postby amstan » Wed Nov 09, 2011 9:24 pm

I agree.

I'm working on a mapgen and i'll keep this in mind.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: Non-square maps should always be landscape, never portra

Postby Parasprites » Wed Nov 09, 2011 9:52 pm

Thanks. It's especially problematic because not only are screens wider than tall, but the browser and OS toolbars at the bottom and top of the screen make the effective aspect ratio even more skewed.
Parasprites
Major-General
 
Posts: 224
Joined: Mon Oct 24, 2011 3:08 pm

Re: Non-square maps should always be landscape, never portra

Postby mac » Wed Nov 09, 2011 11:45 pm

Given that amstan already agreed I suppose saying "+1" is superfluous (but I am tempted! ;) ).

As a workaround, I tend to run as many games as I can "live", as the live visualiser makes a better use of the available space. Also, as mentioned somewhere else on the forum, having an option to switch off the "wrapped/warped" bits of the repeated map could make the viewer gain a few pixel of space...
mac
Brigadier-General
 
Posts: 151
Joined: Mon Oct 31, 2011 6:39 am

Re: Non-square maps should always be landscape, never portra

Postby Janzert » Thu Nov 10, 2011 5:12 am

Well I disagree so... ;)

The more constraints placed on the map the easier a bot can predict features of the map. For instance landscape only maps mean your best bet to quickly divide the map in half is by spreading your ants primarily north and south first and your opponents are more likely east and west than north and south.

It would be nice if the visualizer could do an "easy viewing" rotation/translation that could be specified for each map. Besides landscape/portrait it would also allow the centering of symmetry and such.
Janzert
Contest Organizer
 
Posts: 271
Joined: Sun Feb 07, 2010 1:59 am

Re: Non-square maps should always be landscape, never portra

Postby Parasprites » Thu Nov 10, 2011 5:21 am

Yeah, the orientation in the visualizer doesn't have to match that in the actual game.

Heck, you could do a random transform of the coordinates given to each bot, which would also make things fairer on average.
Parasprites
Major-General
 
Posts: 224
Joined: Mon Oct 24, 2011 3:08 pm

Re: Non-square maps should always be landscape, never portra

Postby mac » Thu Nov 10, 2011 7:11 am

mac
Brigadier-General
 
Posts: 151
Joined: Mon Oct 31, 2011 6:39 am

Re: Non-square maps should always be landscape, never portra

Postby tmc » Thu Nov 10, 2011 10:09 am

No I don't think you did. I have to disagree with both Janzert and Parasprites: disallowing portrait orientation, or transforming coordinates fed to bots can't make any difference except allow a lazy programmer to remove an "if (map.wide < map.high)" somewhere.
tmc
Brigadier-General
 
Posts: 101
Joined: Fri Oct 28, 2011 8:42 am

Re: Non-square maps should always be landscape, never portra

Postby Janzert » Thu Nov 10, 2011 8:32 pm

Oops, I forgot that we gave the bots the map size at the beginning of the game. So constraining maps to landscape should be fine. I still think it would be nice to add a visualizer option so the map can be translated such that the symmetry is more obvious/pleasing.
Janzert
Contest Organizer
 
Posts: 271
Joined: Sun Feb 07, 2010 1:59 am

Re: Non-square maps should always be landscape, never portra

Postby mac » Fri Nov 11, 2011 1:04 pm

mac
Brigadier-General
 
Posts: 151
Joined: Mon Oct 31, 2011 6:39 am

Next

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests

cron