[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/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/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/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 - Visualising AI state

It is currently Fri Sep 21, 2018 6:50 am Advanced search

Visualising AI state

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

Re: Visualising AI state

Postby jab_bott » Sun Nov 13, 2011 10:35 pm

Awesome heartcore1970 - that's exactly the sort of thing this was intended for. Now you can use it to analyze all the clever and dumb things your ants do and improve them. :D

Post any interesting screenshots and say what's going on - I love this stuff!
Image
In this image we can see the 'desire to explore' level of each tile (in white). This is calculated up to the boundary of known-to-be-land tiles and as the ants explore it gets pushed outwards. The desire on already-explored tiles also grows back eventually so they will keep re-exploring neglected areas. The green star is a food that's just been eaten.
jab_bott
Lieutenant-Colonel
 
Posts: 44
Joined: Wed Oct 26, 2011 11:55 pm

Re: Visualising AI state

Postby D_Electrician » Mon Nov 14, 2011 1:06 am

This is much better than going over a >3mb debug log :D
D_Electrician
Cadet
 
Posts: 7
Joined: Fri Nov 11, 2011 6:45 pm

Re: Visualising AI state

Postby heartcore1970 » Mon Nov 14, 2011 12:42 pm

Well here goes, nothing to spectacular:
Image

Trying to record paths around water. The greens are tiles found. The reds are tiles that are currently searched and are not visible.
This tells me that my adjacent tile function is way off since it should only search new tiles which are adjacent to the last tile.
heartcore1970
Cadet
 
Posts: 6
Joined: Sun Nov 13, 2011 7:11 pm

Re: Visualising AI state

Postby jab_bott » Mon Nov 14, 2011 10:20 pm

I've added toggle buttons next to the fog on/off buttons so that you can choose which player to view AI state visualization overlays for.

Image

Here's the latest code:
https://github.com/j-h-a/aichallenge/tr ... 874139f066

There's a bug where if you stop playback (e.g. dragging the timeline to a particular turn) the overlays don't toggle when you press the button on/off, this is because the map doesn't re-draw until the next time something else changes. I need to figure out how to invalidate the current map display when the button state changes so that it will redraw. Any help appreciated.
jab_bott
Lieutenant-Colonel
 
Posts: 44
Joined: Wed Oct 26, 2011 11:55 pm

Re: Visualising AI state

Postby mac » Mon Nov 14, 2011 11:42 pm

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

Re: Visualising AI state

Postby jab_bott » Tue Nov 15, 2011 12:52 am

jab_bott
Lieutenant-Colonel
 
Posts: 44
Joined: Wed Oct 26, 2011 11:55 pm

Re: Visualising AI state

Postby bluegaspode » Tue Nov 15, 2011 6:57 am

bluegaspode
Colonel
 
Posts: 51
Joined: Mon Nov 07, 2011 8:38 am

Re: Visualising AI state

Postby pooka » Tue Nov 15, 2011 7:35 am

Attachments
0001-Added-visualization-support-for-stand-alone-java-pla.zip
(2.04 KiB) Downloaded 80 times
pooka
Cadet
 
Posts: 4
Joined: Thu Nov 10, 2011 2:47 am

Re: Visualising AI state

Postby mleise » Tue Nov 15, 2011 2:42 pm

mleise
Lieutenant-Colonel
 
Posts: 42
Joined: Mon Sep 27, 2010 6:18 pm

Re: Visualising AI state

Postby pooka » Tue Nov 15, 2011 6:45 pm

pooka
Cadet
 
Posts: 4
Joined: Thu Nov 10, 2011 2:47 am

PreviousNext

Return to Starter Packages & Tools

Who is online

Users browsing this forum: No registered users and 2 guests

cron