2010-12-21T00:01:16 *** yasith has joined #aichallenge 2010-12-21T00:59:11 *** narnach1 has joined #aichallenge 2010-12-21T00:59:11 *** narnach has quit IRC (Read error: Connection reset by peer) 2010-12-21T01:05:31 *** McLeopold has joined #aichallenge 2010-12-21T01:08:56 antimatroid1: Generate me some epic game of 400 turns please :) 2010-12-21T01:09:42 * Frontier remembers his sister beeing annoyed by the new habit to call everything epic. 2010-12-21T01:14:06 sweet 2010-12-21T01:16:08 oh hi zannick, i read your forum post and silently agree 2010-12-21T01:24:02 cool 2010-12-21T01:42:18 antimatroid1: Never mind, I loaded your old package of executables and run it on wine. 2010-12-21T01:43:46 I really wonder how the game ends after 400 turns. Will all grains be harvested? Does one ant lose by another ant stepping on it's base square? 2010-12-21T01:54:25 *** narnach1 has quit IRC (Quit: Leaving.) 2010-12-21T01:59:19 *** sigh has quit IRC (Remote host closed the connection) 2010-12-21T02:12:28 *** McLeopold has left #aichallenge 2010-12-21T02:22:38 Frontier: you ran a game for that long? 2010-12-21T02:22:45 i have horrible memory issues with it on mine 2010-12-21T02:23:37 no it crashed on turn 172 2010-12-21T02:24:16 I recompiled it with the sources from the smaller (280 KB) package under linux and now it runs for a little longer (antbot vs atartbot) 2010-12-21T02:25:07 do i have to clear the gui file after each game? 2010-12-21T02:25:18 Frontier: i'll have another go at cleaning up issues before 2010-12-21T02:25:24 don't have to clear the gui file each time 2010-12-21T02:25:31 you do have to clear the map file if you want to make a new one 2010-12-21T02:25:51 well i had 600+ gos in 171 turns 2010-12-21T02:26:20 hmmm, that's not right 2010-12-21T02:26:43 lol, turn 284 and there is only on ant of A left hinding in a corner 2010-12-21T02:27:37 that ai is really really retarded too though 2010-12-21T02:27:51 wtf? player 2 wins? the little 'a' is still on the map! 2010-12-21T02:28:42 did it reach maxturns? 2010-12-21T02:29:11 if you reach the max specified number of turns, the winner is the player with the most ants 2010-12-21T02:29:18 probably a B ant moving into A's home base 2010-12-21T02:30:08 depending on the file you have, i have made changes 2010-12-21T02:32:18 lol take a look at the visualizer -_- 2010-12-21T02:33:40 ok the gui file might have been corrupted due to the crash on the first run or something. it definitly gest cleared now 2010-12-21T02:34:21 did it return fin or just crash? 2010-12-21T02:34:31 oh sorry, i was scrolled up :P 2010-12-21T02:35:25 larger map? 2010-12-21T02:35:33 or lack of player 1 doing anything 2010-12-21T02:36:03 some people didn't like the fusion? what are your thoughts on it? 2010-12-21T02:36:08 i think it's cool strategy wise 2010-12-21T02:38:19 I don't like it either. It is an instagib where you usually have to fight for 5 rounds 2010-12-21T02:38:45 *** Palmik has joined #aichallenge 2010-12-21T02:39:13 bah, i think i'm alone on liking fusion then 2010-12-21T02:40:53 Bots use each 60 MB and engine 130 MB in turn 80 2010-12-21T02:41:10 yeah, there's a memory issue, they shouldn't use anything like that 2010-12-21T02:41:17 i don't think the actual bots are using that much 2010-12-21T02:41:40 I thought it was all the 32-bit textures in 2048x2048 and the high detail models with specular mapping? 2010-12-21T02:42:01 oh wait.. it is text based :p 2010-12-21T02:42:09 :P 2010-12-21T02:42:29 there is something leaking memory 2010-12-21T02:43:35 what about the cpu use of the engine? 2010-12-21T02:43:51 i'm not sure, it gets really really slow 2010-12-21T02:43:51 it is fairly high, too. do you know why? 2010-12-21T02:43:56 but i don't know if that's linked to the error or not 2010-12-21T02:44:11 i don't think it should get that much worse with more ants 2010-12-21T02:44:33 there are a couple of times i loop through the entire grid to find all ants each turn, but i don't do it for every ant i don't think 2010-12-21T02:47:18 I could run valgrind on the bot now, but i guess - as you don't use pointers, that C++ cleans it all up on exit 2010-12-21T02:48:15 i have no idea how valgrind works or how to use it :P 2010-12-21T02:48:35 i have a feeling it 2010-12-21T02:48:42 's to do with input output somehow 2010-12-21T02:48:53 like lots of 2010-12-21T02:49:01 '\n' 's or something 2010-12-21T02:49:07 i wish ' wasn't next to enter 2010-12-21T02:49:59 have you been thinking of 32*64 (n * n*2 ) sized map, and both bases are at n/2, n/2 and n/2+n, n/2 2010-12-21T02:50:09 it would be much easier to watch 2010-12-21T02:50:11 valgrind sneaks in between your code and the c++ memory manager from the runtime and logs every allocation and deallocation. When your application quits it can tell you if you have leaked memory somewhere. Such systems exist for other languages as well, like FastMM4 for Delphi. 2010-12-21T02:51:25 radibus: bases are where they are, to make sure your bot doesn't know the location of the enemy from the start 2010-12-21T02:51:36 ah.. ok. 2010-12-21T02:51:38 I could try and move the bases to the center in the visualizer though 2010-12-21T02:51:40 in that case 2010-12-21T02:51:58 *** jaspervdj has joined #aichallenge 2010-12-21T02:52:21 omg a is about to win: +58 grains 2010-12-21T02:52:35 b is already empty 2010-12-21T02:52:54 omg a is starting an offense 2010-12-21T02:53:02 turn 218 and going 2010-12-21T02:53:21 b tries to defend, but has some ants dedlocked in a corner 2010-12-21T02:53:43 for every ant of b there are two ants of a attacking now 2010-12-21T02:54:07 b is organizing for a base defense now 2010-12-21T02:54:29 it collected 5 grains, but will that be enough? 2010-12-21T02:55:13 but what is a doing now? it stopped to attack! this is the chance for b to recover. 2010-12-21T02:56:33 they better win this game either way or my 3.5 GB RAM will be full before turn 400 2010-12-21T02:57:41 Frontier: you can play the partial games i think 2010-12-21T02:57:54 just delete to the last go and put fin at the end 2010-12-21T02:57:58 i did that once and it worked 2010-12-21T02:58:11 well, fin 0 2010-12-21T02:59:00 ok good to know 2010-12-21T03:00:26 what is this? b left it's base undefended and three ants of a come swarming in 2010-12-21T03:00:40 is this a victory? 2010-12-21T03:00:55 a is coming closer ... and closer... and WINS! 2010-12-21T03:01:02 game? :P 2010-12-21T03:01:21 i haven't got the bots trying to do anything past working out what square to move in that's adjacent to them 2010-12-21T03:01:24 hence why its so stupid 2010-12-21T03:01:47 if you want to make it better, paint outwards from each square until you find something attractive, then move to that first square 2010-12-21T03:02:37 that might be a square not yet visited, an enemy, grains, their base, etc. 2010-12-21T03:03:51 the game is uploaded under the name "long match" 2010-12-21T03:05:30 lol, look at the big heap of grains in the top row :p 2010-12-21T03:05:46 cool game 2010-12-21T03:06:39 i really like the ants game 2010-12-21T03:06:45 i think it would make a really good ai comp one 2010-12-21T03:07:24 it's easy to understand, easy to get started, yet provides lots of flexibility for different strategy variations near the top of hte leaderboard 2010-12-21T03:08:35 Yeah, it could really be a game with strategic and also fun moments, when one ant loses 30 grains because it moved to close to the enemy 2010-12-21T03:09:07 Frontier: what are your opinions on what happens to ant harvest when an ant dies? 2010-12-21T03:09:16 like say two opponents land on top of each other 2010-12-21T03:09:30 should the winning ant get all harvest, or the losing ant drops theirs and the ant has to reharvest it all 2010-12-21T03:09:52 i've changed my engine to do the later for the moment 2010-12-21T03:10:28 I think it is ok to have it drop the harvest 2010-12-21T03:10:39 what does that bot see? nothing? 2010-12-21T03:10:44 i mean ant 2010-12-21T03:11:03 an ant can see anything reachable within 6 mvoes, including through walls 2010-12-21T03:11:09 all friend ants share information 2010-12-21T03:11:11 I like when two ants 'dance' around each other on a 2x2 block 2010-12-21T03:11:25 so if they are 6 blocks away from enemy base, they can see it? 2010-12-21T03:11:29 Frontier: wait for the dancing when people implement strategies 2010-12-21T03:11:39 i expect ant combat to be the most interesting part 2010-12-21T03:11:49 and watching people kamakazee towards enemies bases 2010-12-21T03:11:53 this game is just epic man. :D 2010-12-21T03:12:04 ^idd 2010-12-21T03:12:20 rage bot is easy, once you see the enemy base, all ants walk towards it 2010-12-21T03:12:37 in the mean time, move to new squares or harvest and return home 2010-12-21T03:12:43 let someone create a crowbot and an antbot ^^ 2010-12-21T03:13:03 snakebot needs to be done 2010-12-21T03:13:05 do you have a "starter class" 2010-12-21T03:13:11 lol snakebot :D 2010-12-21T03:13:22 antpath 2010-12-21T03:13:51 rabidus: i have a starter bot, but it's pretty stupid 2010-12-21T03:14:50 radibus: in case you haven't followed the discussion, here is the last game - http://marco-leise.homedns.org/antgui/v3 2010-12-21T03:14:54 i'm looking at the engine atm 2010-12-21T03:15:06 yeah. that looks awesome 2010-12-21T03:15:13 refreshing every game right now :) 2010-12-21T03:16:28 Frontier: one option is to not allow friend ants to move onto the same square, so no fusion, but then if you receive more than one move there, which ant gets to make the move? 2010-12-21T03:16:48 i think it's good that enemy ants colliding fight to death 2010-12-21T03:17:27 it means you can charge their defense lines towards their base, rather than having to take out each ant in your path over 5 turns 2010-12-21T03:17:36 antimatroid1: I won't argue that, I'm just animating it :) 2010-12-21T03:18:59 ants would do it like this: They send an ant for each enemy in the way to lock them down and then send some more to walk over the fighting ants to the enemy base 2010-12-21T03:19:02 Frontier: it might be nice to have a button to skip back to the start 2010-12-21T03:19:09 so i don't reload every time i rewatch a game 2010-12-21T03:19:51 ok, I'll add that functionality to the play button once the end is reached. 2010-12-21T03:20:07 yep :) 2010-12-21T03:20:50 what do you guess is the filesize atm? 2010-12-21T03:21:01 for a game? 2010-12-21T03:21:08 for that long game 2010-12-21T03:21:22 too much? mb? 2010-12-21T03:21:33 no, less than 1 mb 2010-12-21T03:21:39 257K :) 2010-12-21T03:21:45 that's not too bad is it? 2010-12-21T03:21:51 i think it's sending more than perhaps necessary atm too 2010-12-21T03:22:02 That's less than I expected after all :) 2010-12-21T03:22:45 you could save 30 K by omitting the tailing space 2010-12-21T03:25:20 i will get rid of that 2010-12-21T03:25:28 i had been meaning too and started to somewhere 2010-12-21T03:27:21 lol, i had the following functions defined in this order 2010-12-21T03:27:36 wait, nevermind 2010-12-21T03:27:46 i thought one was ostream and the other ofstream, but one was stringstream 2010-12-21T03:30:04 Once you are done with your changes and have a new replay you should be able to upload it via FTP for it to become the new 'default' replay. 2010-12-21T03:31:02 i'll see 2010-12-21T03:32:47 do i need an ftp client? 2010-12-21T03:33:15 ftp servers i have played around with before 2010-12-21T03:33:18 but it's been a few years 2010-12-21T03:33:24 and it was mostly for downloading :P 2010-12-21T03:34:05 never had proper scene access though :( 2010-12-21T03:35:04 hehe, you can use explorer.exe ftp://... 2010-12-21T03:35:44 I hope noone abuses this system, as the password is in the link ^^ 2010-12-21T03:37:25 didn't seem to like me copying it there, but it also only finds ant.zip there 2010-12-21T03:39:51 use the username and password: antvis 2010-12-21T03:40:32 ftp://antvis:antvis@marco-leise.homedns.org/ 2010-12-21T03:40:35 *** mega1 has joined #aichallenge 2010-12-21T03:41:58 mega1: Take a look at how awesome the black ants were defeating the red ants: http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T03:42:29 * Frontier received an upload 2010-12-21T03:44:33 heh, I don't yet have an eye for this game 2010-12-21T03:45:15 what's not to love? 2010-12-21T03:47:28 *** Utkarsh has quit IRC (Ping timeout: 276 seconds) 2010-12-21T03:47:46 Frontier: is black your own bot? 2010-12-21T03:49:30 antimatroid1: Hehe, no it is still your bot. Do you want me to write a bot? 2010-12-21T03:50:40 *** perror has joined #aichallenge 2010-12-21T03:51:35 *** Utkarsh has joined #aichallenge 2010-12-21T03:52:37 I need to reduce the ant trail visibility though. With matches that long they are too much. 2010-12-21T03:54:18 yes they are 2010-12-21T03:54:26 feel free to write one, use my one to start from 2010-12-21T03:54:42 i am slowly trolling through the engine again 2010-12-21T03:54:54 any chance you want to pass it thorugh valgrind anyway? :P 2010-12-21T03:55:24 (only if it doesn't take too long) 2010-12-21T04:03:12 each process has 2 pointers actually, but i only ever make 3 prcess objects and they remain the same the entire game 2010-12-21T04:03:20 oh right, i'll use one turn as the limit 2010-12-21T04:04:09 i think i've stipped all the extra ' 's 2010-12-21T04:06:36 lol, i know how to make the map gen faster 2010-12-21T04:07:16 make a list of usable squares, and keep removing invalid/used ones when adding walls 2010-12-21T04:07:19 but not important atm 2010-12-21T04:07:30 valgrind, says it is all ok. there is no memory leak other than 6 mallocs from opened file pointers that aren't closed 2010-12-21T04:07:59 hmm, maybe i should at least free the processes at the end :P 2010-12-21T04:08:05 i'll do that, but otherwise gah 2010-12-21T04:08:23 antimatroid1: I know, I thought about that optimization, when I tried to generate tiny maps and the map generator ended in an endless loop :p 2010-12-21T04:08:45 Frontier: yep, gotta be careful with how many walls you ask for and size 2010-12-21T04:08:51 same with starting distance between home bases 2010-12-21T04:09:18 i really like the maps it makes though 2010-12-21T04:09:42 *** mega1 has quit IRC (Ping timeout: 240 seconds) 2010-12-21T04:11:15 *** narnach has joined #aichallenge 2010-12-21T04:11:15 *** narnach is now known as narnach_mb 2010-12-21T04:18:18 4,194,288 bytes in 1 blocks 2010-12-21T04:18:49 Is it correct behaviour that your stringstream allocates 4 MB of memory in 8 turns? 2010-12-21T04:19:22 It's in Square.cc, line 14 2010-12-21T04:22:08 Did you know that the clear method clears the io-flags? 2010-12-21T04:22:41 i have no idea what the clear does :P 2010-12-21T04:23:03 what's your line 14 for square.cc? 2010-12-21T04:23:43 maybe i should use an i and o stringstream 2010-12-21T04:23:58 wait, no, i need to put stuff into it and then out 2010-12-21T04:24:46 use io.str("") to reset the accumulated string 2010-12-21T04:24:58 right befor you call io.clear() for example 2010-12-21T04:25:14 (can't harm to reset the error flags as well :p ) 2010-12-21T04:26:12 It is still burning a lot of cpu time though 2010-12-21T04:27:03 Do you have some busy loops in there waiting for IO? 2010-12-21T04:27:57 it seems to have fixed the memory issue 2010-12-21T04:28:04 maybe engine really is just slow 2010-12-21T04:28:08 i'll clean this up then tackle that 2010-12-21T04:28:34 need to fix the bot too 2010-12-21T04:30:06 :D thanks though 2010-12-21T04:30:44 *** boegel has joined #aichallenge 2010-12-21T04:30:56 bots aren't leaking memory now either 2010-12-21T04:33:40 Frontier: it would all be a lot nicer if i could create a string stream inside each process, but it seems to hate me doing that, any idea why? 2010-12-21T04:34:05 then i can just template it to print any object like normal ostreams 2010-12-21T04:35:22 *** Utkarsh has quit IRC (Ping timeout: 240 seconds) 2010-12-21T04:39:00 *** _Utkarsh <_Utkarsh!~admin@117.201.84.209> has joined #aichallenge 2010-12-21T04:39:55 i wonder how expensive all these calls are on io.clear()? 2010-12-21T04:39:57 i call it a lot 2010-12-21T04:40:17 *** AlliedEnvy has quit IRC (Ping timeout: 260 seconds) 2010-12-21T04:41:10 Frontier: a game went a lot faster when the bot doesn't call gameStream.clear() in passGameState 2010-12-21T04:41:41 wait, that's cause it screws up 2010-12-21T04:41:55 lol 2010-12-21T04:43:00 so all the extra memory is coming from those string streams somehow 2010-12-21T04:43:14 that's a lot of memory for a few "\n"s? 2010-12-21T04:43:39 antimatroid1: I don't know why it doesn't let you create string stream inside processes and I don't understand your code enough to know what you mean. 2010-12-21T04:43:51 yeah that's cool 2010-12-21T04:44:49 i'm a terrible programmer 2010-12-21T04:44:56 *** Naktibalda has joined #aichallenge 2010-12-21T04:45:07 i just hack away until something works :D 2010-12-21T04:45:19 well, sort of anyway 2010-12-21T04:47:26 i'll make a long game string for you then keep cleaning 2010-12-21T04:47:31 hopefully it wont crash at least n ow 2010-12-21T04:48:36 i'm being ambitious and trying 500, might take a while 2010-12-21T04:49:09 *** AlliedEnvy has joined #aichallenge 2010-12-21T04:49:50 crap have to start over, forgot to make a new map 2010-12-21T04:56:18 frontier: i'm thinking less ants with more hp might be cooler 2010-12-21T04:58:55 they still die instantly in a fusion *g* 2010-12-21T04:59:10 ? 2010-12-21T04:59:22 *g*? 2010-12-21T04:59:30 i'm at turn 240 2010-12-21T05:02:26 Frontier: you wouldn't believe it 2010-12-21T05:02:33 my game took 289 turns 2010-12-21T05:02:38 before an ant won 2010-12-21T05:02:40 different map 2010-12-21T05:03:43 i'm wondering if maybe it's the same map and translated differently 2010-12-21T05:03:48 http://pastebin.com/SCwtbDSM 2010-12-21T05:04:07 nah, it's different, that's awesome aha 2010-12-21T05:06:46 i think they were actually one turn out, but still 2010-12-21T05:09:12 *** yasith has quit IRC (Read error: Operation timed out) 2010-12-21T05:23:15 *** yasith has joined #aichallenge 2010-12-21T05:26:18 don't call "Process& operator<<(Process &p, stringstream &outstream)" 40.000 times per turn, it will slow you down :p 2010-12-21T05:26:21 *** yasith_ has joined #aichallenge 2010-12-21T05:28:02 *** yasith has quit IRC (Ping timeout: 250 seconds) 2010-12-21T05:28:10 how else am i meant to do it :P 2010-12-21T05:28:23 vector of strings? i still need to convert it to string 2010-12-21T05:29:00 *** dr- has joined #aichallenge 2010-12-21T05:30:06 a string stream has a .str() method for conversion to string 2010-12-21T05:30:39 .str().c_str() could work in that case 2010-12-21T05:30:52 i'll play around 2010-12-21T05:31:03 string streams don't seem to like having \n work properly from them 2010-12-21T05:31:23 i'm adding the str and clear lines to the actual function call now 2010-12-21T05:31:28 so that will remove a lot of crap 2010-12-21T05:31:42 maybe you meant to use << endl; ? 2010-12-21T05:32:07 *** CIA-112 has joined #aichallenge 2010-12-21T05:32:11 on file streams you usually use << endl which outputs '\n' and flushes the stream 2010-12-21T05:33:18 I was running the engine in a profiler, and there was pretty much nothing else showing up, but this method and the C/C++ runtime. 2010-12-21T05:33:34 *** narnach has joined #aichallenge 2010-12-21T05:34:09 *** narnach has joined #aichallenge 2010-12-21T05:34:29 *** Posterdati_ has joined #aichallenge 2010-12-21T05:34:45 *** narnach_mb has quit IRC (*.net *.split) 2010-12-21T05:34:45 *** Posterdati has quit IRC (*.net *.split) 2010-12-21T05:34:45 *** CIA-36 has quit IRC (*.net *.split) 2010-12-21T05:35:29 ah the game string has loaded 2010-12-21T05:39:44 Frontier: http://pastebin.com/q25VWaBf that map is pretty cool 2010-12-21T05:42:14 i've decided we've all been trolled 2010-12-21T05:43:35 what? 2010-12-21T05:43:47 * Naktibalda remembers some ant server written in Lua that he saw few years ago 2010-12-21T05:44:47 not exactly ant, but a bug server, with several kinds of bugs 2010-12-21T05:45:51 Frontier: http://imgur.com/XiiGC 2010-12-21T05:45:53 much better 2010-12-21T05:46:05 still follows the right hand rule and matches indexing of matrices 2010-12-21T05:46:15 and easier to draw on a page 2010-12-21T05:46:28 *** wh1teside_ has quit IRC (Quit: leaving) 2010-12-21T05:46:38 well, not harder :P 2010-12-21T05:47:22 this is for (x,y) subset of XxY 2010-12-21T05:49:19 *** sigh has joined #aichallenge 2010-12-21T05:52:43 *** Erika has joined #aichallenge 2010-12-21T05:56:46 *** Erika has quit IRC (Client Quit) 2010-12-21T06:10:01 *** yasith_ has quit IRC (Ping timeout: 260 seconds) 2010-12-21T06:12:17 *** Accoun has quit IRC (Read error: Connection reset by peer) 2010-12-21T06:12:29 Frontier: still wont handle the endl's in a string stream 2010-12-21T06:13:01 i could pass each turn as a single line :P 2010-12-21T06:14:16 *** Accoun has joined #aichallenge 2010-12-21T06:18:45 *** delt0r_ has quit IRC (Read error: Operation timed out) 2010-12-21T06:19:20 *** delt0r_ has joined #aichallenge 2010-12-21T06:19:26 *** Erika has joined #aichallenge 2010-12-21T06:20:06 anyone up 2010-12-21T06:21:44 yep 2010-12-21T06:23:42 Erika: http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T06:24:25 heya 2010-12-21T06:25:16 hey 2010-12-21T06:25:34 it slows down near the end 2010-12-21T06:25:40 is there a lot going on? 2010-12-21T06:25:45 you should see when the engine runs :P 2010-12-21T06:25:59 it doesn't slow down the visualiser on my machine though 2010-12-21T06:26:19 ah 2010-12-21T06:26:29 maybe itll be faster on my better computer 2010-12-21T06:26:40 but im too lazy o.o 2010-12-21T06:26:44 full credit goes to frontier for the visualiser 2010-12-21T06:26:45 but 2010-12-21T06:26:48 this is cool 2010-12-21T06:26:58 I like how they sometimes split off in groups 2010-12-21T06:27:07 the ai is really stupid atm 2010-12-21T06:27:20 you can also fuse your ants together, combining their hp to make a super ant 2010-12-21T06:27:27 and you win if you get an ant onto their base 2010-12-21T06:27:41 and you also can't see the entire map at hte start 2010-12-21T06:27:49 each ant has a view radius of 6 2010-12-21T06:28:37 oh 2010-12-21T06:28:44 reminds me of age of empires 2010-12-21T06:28:49 that was some scary shit 2010-12-21T06:28:54 tis a bit like those games 2010-12-21T06:29:02 reminds me most of future cop lapd preccint assault mode 2010-12-21T06:29:03 the rock paper scissors part really made it 2010-12-21T06:30:52 I think I remember that game 2010-12-21T06:31:03 I mustve played it in middle school 2010-12-21T06:31:19 yay, i finally found someone else that played it 2010-12-21T06:31:23 best playstation game ever 2010-12-21T06:31:28 http://www.youtube.com/watch?v=W2rPuRDtL_s 2010-12-21T06:31:29 that's it 2010-12-21T06:32:05 YES 2010-12-21T06:32:09 I remember 2010-12-21T06:32:25 haha, you are obsessed with that game 2010-12-21T06:32:31 sigh: it was awesome 2010-12-21T06:32:35 :P 2010-12-21T06:32:38 agreed 2010-12-21T06:32:43 I pwned so hard 2010-12-21T06:32:49 and then people stopped playing me 2010-12-21T06:32:52 haha 2010-12-21T06:33:05 antimatroid1, where can i find this ant game ? 2010-12-21T06:33:17 dr-: there isn't really an official release yet 2010-12-21T06:33:17 it was multiplayer? 2010-12-21T06:33:22 sigh: yes 2010-12-21T06:33:29 dr-: i have an engine and sample bot 2010-12-21T06:33:33 the bot ai is very crap 2010-12-21T06:34:03 okay ;) 2010-12-21T06:34:31 "Remember: Hovertanks, Turrets, Points, Crying! Beautiful...!" 2010-12-21T06:34:53 ive had way too much vodka 2010-12-21T06:34:56 I feel sick 2010-12-21T06:35:20 i don't drink vodka anymore 2010-12-21T06:35:23 too many bad memories 2010-12-21T06:35:31 that taste, eurgh 2010-12-21T06:35:45 yea 2010-12-21T06:35:47 if you have memories, then you didn't have enough vodka 2010-12-21T06:35:51 cascade draught, best beer in the world 2010-12-21T06:35:51 LOL 2010-12-21T06:35:57 very hard to buy outside tasmania though 2010-12-21T06:36:20 i just wanna get wasted 2010-12-21T06:36:23 thats all 2010-12-21T06:36:30 sigh: i got taken home by the cops one night in year 12 on a school night because i passed out in a gutter at a bus stop and nearly got run over 2010-12-21T06:36:41 haha 2010-12-21T06:36:43 o.o 2010-12-21T06:36:45 i somehow managed to polish off most of a bottle in just over an hour, i was completely gone later that night 2010-12-21T06:37:10 thats scary 2010-12-21T06:37:21 don't do that again now 2010-12-21T06:37:31 i'm not that bad anymore 2010-12-21T06:38:15 sigh: the memories no longer leaking, but the engine is still reaaaallllyyy slooooowww 2010-12-21T06:38:54 man... i thought you were still talking about your memory and got confused 2010-12-21T06:39:05 why is it slow? 2010-12-21T06:39:22 possibly all the calls to output a string stream to a process 2010-12-21T06:39:25 hopefully that 2010-12-21T06:39:40 profile the code? 2010-12-21T06:40:05 well, it's only a prototype so probably doesn't matter 2010-12-21T06:40:10 it sort of outputs when it has something to output atm 2010-12-21T06:40:25 yeah, would still be nice to make sure the game engine wont always be that retardedly slow 2010-12-21T06:40:31 but i'm pretty sure it shouldn't be 2010-12-21T06:40:39 -* 2010-12-21T06:40:52 ? 2010-12-21T06:41:04 my cat, sorry :) 2010-12-21T06:42:09 sigh: any idea how to get a stringstream to handle '\n' as i would want? 2010-12-21T06:42:28 how do you want? 2010-12-21T06:42:51 well if i add lines to a string stream then pass take it out into a string, it removes all the \n's 2010-12-21T06:43:02 and it wont let me declare a stringstream for my processes 2010-12-21T06:43:20 that's odd 2010-12-21T06:43:48 something about something being private 2010-12-21T06:43:53 ios_base 2010-12-21T06:44:03 dunno 2010-12-21T06:44:14 i need a better language 2010-12-21T06:44:22 my c++ is not very good :) 2010-12-21T06:44:33 yeah, you did say you used planet wars to learn it :P 2010-12-21T06:44:37 :) 2010-12-21T06:44:41 but you still seem to know more than me about some of it 2010-12-21T06:45:09 I intentionally exposed myself to as much as possible while developing 2010-12-21T06:47:38 *** narnach has quit IRC (Quit: Leaving.) 2010-12-21T06:59:14 *** narnach has joined #aichallenge 2010-12-21T06:59:14 *** narnach is now known as narnach_mb 2010-12-21T07:06:09 antimatroid1: how are you putting the '\n' 's into the string stream? 2010-12-21T07:10:47 dmj111: tried both '\n' and endl 2010-12-21T07:11:21 trying a different method now, i might be able to just generate one lone string inside the process, then have a separate function to send it all in one sweep 2010-12-21T07:12:11 dmj111: http://marco-leise.homedns.org/antgui/v3/ you've seen this yeah? 2010-12-21T07:13:05 it does seem to give them to me if i do ss.str() though, then pass that string off to an output whatever 2010-12-21T07:15:46 Frontier: is it possible for the visualiser to animate between steps when i click forward? 2010-12-21T07:16:00 backwards is far less important 2010-12-21T07:16:24 animate between steps? 2010-12-21T07:16:39 sigh: i can click forward and go between turns at my own pace 2010-12-21T07:16:44 but it doesn't animate when doing that 2010-12-21T07:17:00 like show the walks or fights, just bang, next state 2010-12-21T07:19:08 antimatroid: You want what? an animation between steps? It is possible. I can play the whole game backwards if you want. 2010-12-21T07:19:51 it makes it easier to see what happened between steps 2010-12-21T07:20:10 when i click forward now, it just shows me the next state, not what happened between 2010-12-21T07:21:03 It should have an option to play the move, wait, and replay indefinitly 2010-12-21T07:22:26 that could be cool 2010-12-21T07:22:53 i'm still fighting with output with the process 2010-12-21T07:22:59 I just don't feel like doing it right now, but I centered the map on the home bases so it is easier to follow the ants around 2010-12-21T07:23:04 fputs(outstream.str().c_str(), p.out); 2010-12-21T07:23:05 didn't love that 2010-12-21T07:23:14 even when trying to switch everything to endl 2010-12-21T07:23:56 i'm thinking of just generating an output string for each process from the << calls, then at the end of each lot of outputting, pass the whole string 2010-12-21T07:29:16 antimatroid1: You can use a combination of [space] and [left arrow] to repeatedly replay a turn 2010-12-21T07:30:18 Frontier: perfect :) 2010-12-21T07:38:24 bah, this should work! 2010-12-21T07:42:10 http://pastebin.com/5BeW765j 2010-12-21T07:42:27 how the hell does the top three lines of that work but the bottom two with or without the bottom line don't 2010-12-21T07:42:31 it gives the same bloody text 2010-12-21T07:49:45 antimatroid1: sorry, had to step away. the endl shouldn't work on string stream. 2010-12-21T07:50:06 it seems to get them when i ask for the .str() of it 2010-12-21T07:50:16 but then when i pass those through to a process, it fails 2010-12-21T07:50:21 it's all blah 2010-12-21T07:50:29 dmj111: what do you think about the game thoung? :P 2010-12-21T07:50:30 yeah.... endl is more than adding "\n". 2010-12-21T07:50:39 yeah, it's flushing too? 2010-12-21T07:50:43 yes. 2010-12-21T07:51:00 so if i change all my endl 2010-12-21T07:51:05 s to \n would it work? 2010-12-21T07:51:34 its been a while, but if you are building a string, then yes. But, if you are building a string, you probably need to call the .str() method. 2010-12-21T07:51:52 i haven't checked out the game yet. been trying to go cold turkey for a while. 2010-12-21T07:52:32 hehe, fair call 2010-12-21T07:52:43 at least watch the sample game 2010-12-21T07:53:08 *** sigh has quit IRC (Remote host closed the connection) 2010-12-21T07:55:24 that is an update since the last time i looked. looks neat. 2010-12-21T08:00:50 antimatroid1: the other thing you can do, is build up a list of strings that should have newlines between them. then, to output them, loop through the lines, dump a line where you want to go , then the newline. 2010-12-21T08:02:03 but i imagine you are using the ostringstream to handle formatting for you, so that probably isn't too helpful. 2010-12-21T08:02:39 see ya later... 2010-12-21T08:07:20 ciao 2010-12-21T08:27:16 *** mega1 has joined #aichallenge 2010-12-21T08:27:32 *** Rubicon-|-Cross has joined #aichallenge 2010-12-21T09:12:37 *** p4p4p4 has joined #aichallenge 2010-12-21T09:26:22 Frontier: i'll have a better bot in a little bit 2010-12-21T09:26:39 still fairly naive, but they will go towards each other and grains rahter than wonder randomly 2010-12-21T09:36:10 Cool, that will make the games more interesting to watch! 2010-12-21T09:37:27 Next you can create a promotional video of the game. We need more followers :D 2010-12-21T09:44:52 *** Erika has quit IRC (Ping timeout: 276 seconds) 2010-12-21T09:45:14 i have a game now, i'm still working on it though 2010-12-21T09:45:24 i still haven't figured out uploading, so i'll pastebin it for you :P 2010-12-21T09:45:49 http://pastebin.com/uBqJQ4Ee 2010-12-21T09:48:48 *** Posterdati_ has quit IRC (Quit: Leaving) 2010-12-21T09:50:55 Frontier: watch this one http://pastebin.com/Tj1vNL6S 2010-12-21T09:56:16 *** yasith has joined #aichallenge 2010-12-21T09:57:25 i'm getting epic battles now :) 2010-12-21T09:57:45 next i'll have them kamakazee everything at the enemies base once they see it 2010-12-21T10:29:19 *** Azrathud has joined #aichallenge 2010-12-21T10:37:35 *** JamesMG has joined #aichallenge 2010-12-21T10:50:49 500 turn game is running with rage bot like properties 2010-12-21T10:50:53 not sure if it will last that long 2010-12-21T11:00:16 *** nullkuhl has quit IRC (Remote host closed the connection) 2010-12-21T11:00:45 *** narnach_mb has quit IRC (Ping timeout: 260 seconds) 2010-12-21T11:07:09 *** amriedle has joined #aichallenge 2010-12-21T11:14:44 *** nullkuhl has joined #aichallenge 2010-12-21T11:16:46 hmm 2010-12-21T11:19:22 so is it possible to join ants together? 2010-12-21T11:19:29 like ant5 + ant5 = ant10 2010-12-21T11:22:03 *** Azrathud has quit IRC (Ping timeout: 265 seconds) 2010-12-21T11:22:14 *** nullkuhl has left #aichallenge ("Konversation terminated!") 2010-12-21T11:25:08 rabidus: yes 2010-12-21T11:25:23 their harvest combines too 2010-12-21T11:25:34 that is fusion 2010-12-21T11:25:41 although i seem to be the only person who likes that 2010-12-21T11:26:07 hmm.. so, if i know where enemy base is, and make a "snake" towards it, and when first ant gets involved in a fight and i make a fusion with first and second ant 2010-12-21T11:26:21 then their hp combines 2010-12-21T11:26:26 that's why i like fusion :P 2010-12-21T11:26:38 yea, but isn't that too powerful? 2010-12-21T11:26:42 although, when i made that snake before, it did bery badly 2010-12-21T11:26:48 very* 2010-12-21T11:26:55 no, you lose a lot of ability fusing ants 2010-12-21T11:27:06 i think you're better off keeping them separate, even when charging their base 2010-12-21T11:27:33 they can fuse to defend against you too 2010-12-21T11:29:31 hmm.. 2010-12-21T11:30:36 what about when ant A at 0,0 is moving right and ant B at 2,0 is moving left. what's at 1,0 in next turn? 2010-12-21T11:30:59 if they have the same hp, they both die and their harvest returns to grains their 2010-12-21T11:31:12 otherwise one surves and the other dies, dropping it'd harvest to grains again 2010-12-21T11:31:24 fuse happens before combat essentialy 2010-12-21T11:31:29 in reality do them at the same time 2010-12-21T11:33:14 *** globus has joined #aichallenge 2010-12-21T11:35:47 ok 2010-12-21T11:41:31 hey that latest game was really entertaining :) 2010-12-21T11:42:06 Frontier: i have a better one coming 2010-12-21T11:42:42 if you ever figure out ftp use ascii mode so it converts from \n\r to \n during transfer ;) 2010-12-21T11:42:44 *** McLeopold has joined #aichallenge 2010-12-21T11:42:58 *\r\n 2010-12-21T11:43:00 i will do it tomorrow 2010-12-21T11:43:05 i'm going to bed after this game 2010-12-21T11:43:21 it's on a 40x40 grid, i've given it up to 500 turns 2010-12-21T11:43:24 alright, good night 2010-12-21T11:43:26 but usually they don't take that long 2010-12-21T11:43:32 i'll post you this game first 2010-12-21T11:43:51 i haven't had any games end from intruding their base recently 2010-12-21T11:43:56 they all seem to battle to the death 2010-12-21T11:48:37 this game looks epic in ascii form 2010-12-21T11:49:00 it's at about turn 200 and home bases each have over 300 grains on them 2010-12-21T11:49:12 lol? 2010-12-21T11:49:30 still the same game aha 2010-12-21T11:50:03 *** Sylph has joined #aichallenge 2010-12-21T11:53:39 *** Sylph2 has quit IRC (Ping timeout: 260 seconds) 2010-12-21T11:56:00 Frontier: http://pastebin.com/05z60CNQ 2010-12-21T11:58:59 omg i need a new monitor :p 2010-12-21T11:59:04 hehe 2010-12-21T11:59:06 fits on mine 2010-12-21T11:59:10 50x50 didn't 2010-12-21T12:00:28 needed moar time aha 2010-12-21T12:00:48 i think 32x32 is good 2010-12-21T12:01:12 anyway, night 2010-12-21T12:05:32 *** mceier has joined #aichallenge 2010-12-21T12:05:52 I put it up under the name 'epic' 2010-12-21T12:06:23 Although I like the other one better, because there weren't more ressources than turns ^^ 2010-12-21T12:09:57 yeah, that screwed up heeh 2010-12-21T12:10:48 that gives us a fairly easy way to limit the game length i think 2010-12-21T12:11:02 grains on the board <= max turns + 50 or so 2010-12-21T12:12:29 *** Erika has joined #aichallenge 2010-12-21T12:13:16 after a few days thought, i'm pretty sure there is sufficient strategy difficulty that no one will solve it 2010-12-21T12:14:01 on the ant contest? 2010-12-21T12:14:09 yeah 2010-12-21T12:14:13 http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T12:14:16 watch the epic game too 2010-12-21T12:14:28 h/o, lemme switch comps real quick 2010-12-21T12:14:51 *** Erika has left #aichallenge 2010-12-21T12:15:00 LOL :D 2010-12-21T12:15:07 300 ants in queue 2010-12-21T12:15:08 *** Erika has joined #aichallenge 2010-12-21T12:15:14 alright, links again? 2010-12-21T12:15:22 http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T12:15:23 http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T12:15:28 i win 2010-12-21T12:15:33 yup :> 2010-12-21T12:15:41 @roulette 2010-12-21T12:15:41 antimatroid1: *click* 2010-12-21T12:15:52 @roulette 2010-12-21T12:15:52 antimatroid1: *click* 2010-12-21T12:15:55 @roulette 2010-12-21T12:15:56 antimatroid1: *click* 2010-12-21T12:15:58 @roulette 2010-12-21T12:15:58 *** antimatroid1 was kicked by contestbot (BANG!) 2010-12-21T12:15:59 * contestbot reloads and spins the chambers. 2010-12-21T12:16:09 *** antimatroid1 has joined #aichallenge 2010-12-21T12:16:17 4clicks 2010-12-21T12:16:19 nice 2010-12-21T12:16:28 i'm a very unlucky person 2010-12-21T12:16:44 @roulette @roulette @roulette 2010-12-21T12:16:44 rabidus: (roulette [spin]) -- Fires the revolver. If the bullet was in the chamber, you're dead. Tell me to spin the chambers and I will. 2010-12-21T12:16:46 *** boegel has quit IRC (Ping timeout: 265 seconds) 2010-12-21T12:16:48 :) 2010-12-21T12:17:17 is it fair to say that in a way if you are very unlucky you are lucky 2010-12-21T12:17:27 because it takes some kind of luck to be unlucky 2010-12-21T12:17:58 cursed to lead an interesting life? 2010-12-21T12:17:58 * Frontier plays Fortune Faded by RHCP 2010-12-21T12:18:32 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) 2010-12-21T12:18:37 @roulette 2010-12-21T12:18:37 rabidus: *click* 2010-12-21T12:18:38 @roulette 2010-12-21T12:18:38 *** rabidus was kicked by contestbot (BANG!) 2010-12-21T12:18:39 * contestbot reloads and spins the chambers. 2010-12-21T12:19:08 Frontier: play future cop lapd 2010-12-21T12:19:15 you'll never need another video game in your life 2010-12-21T12:19:19 *** rabidus has joined #aichallenge 2010-12-21T12:19:32 except for tg motocross 3 2010-12-21T12:19:33 forgot the channel name :D 2010-12-21T12:19:35 that shits the bomb 2010-12-21T12:19:42 Fortune Faded is a song -.-. 2010-12-21T12:19:50 :P 2010-12-21T12:20:26 But I prefer Drakan, Half-Life, Company of Heroes or the Total War series 2010-12-21T12:20:52 Sure GTA was fun in multiplayer back then, too 2010-12-21T12:21:02 onbly so many times you can rpelay something 2010-12-21T12:21:25 Erika: not true for tg motocross 3 2010-12-21T12:21:33 like, I played OOT maybe 5 or 6 times 2010-12-21T12:21:43 Idk if I could do another 2010-12-21T12:21:44 well 2010-12-21T12:21:47 maybe one more 2010-12-21T12:22:08 Gothic 3 was also an amazing game. 2010-12-21T12:22:56 im about to play morroblivion 2010-12-21T12:23:03 soon as everything finishes downloading 2010-12-21T12:23:40 downloading... hmm so is it from an online vendor? 2010-12-21T12:24:08 no way 2010-12-21T12:24:12 or do you get your games you aren't keen for like I do in bit torrent networks 2010-12-21T12:24:25 torrents 2010-12-21T12:24:42 and the final patch for the mod is from the official site 2010-12-21T12:28:20 geez. great work guys. i like that game a lot 2010-12-21T12:30:45 Finally you say it. Damn I waited for that statement all day long :p 2010-12-21T12:30:46 ^ 2010-12-21T12:31:02 *** Error323 has quit IRC (Read error: Connection reset by peer) 2010-12-21T12:31:17 You two refer to the ant game, not Morrowind, do you? 2010-12-21T12:31:35 yes 2010-12-21T12:35:52 *** Rubicon-|-Cross has quit IRC (Quit: Leaving) 2010-12-21T12:36:59 OOT is Orcania of Time? 2010-12-21T12:37:05 yes 2010-12-21T12:37:16 really rich with story 2010-12-21T12:37:59 yes 2010-12-21T12:38:16 I just downloaded that a few days back because I liked Link's Awakening. Not sure if I'll play it. The controls on an emulator for the PC are a bit unintuitive :-) 2010-12-21T12:38:57 I'll tell my sister though. She's so eager to play Zelda 1 at the moment, but can't get an emulator to run 2010-12-21T12:40:07 *** perror has quit IRC (Quit: Bye all !) 2010-12-21T12:40:09 I'm using mednafen, which is an emulator that runs most old games including NES, GB, GBC, GBA and a lot of others. 2010-12-21T12:40:35 oh hmm 2010-12-21T12:40:44 I just use my n64 2010-12-21T12:41:02 or this really cool thing my roomie has that plays nes and snes 2010-12-21T12:41:05 I'm amazed how good Link's awakening looks now, coming from a monochrome GameBoy. I tried the color version now with special filtering that makes the resolution look like it's 4x higher 2010-12-21T12:41:36 woah 2010-12-21T12:41:44 that sounds pretty neat 2010-12-21T12:42:49 The graphics are comic like anyway and the filter uses that. Basically you end up with lines going either -, |, / or \ . But it works on any shape that isn't a long flat arc. 2010-12-21T12:44:19 You don't get any blur from upscaling the images. That's really what gives you the impression of higher resolution 2010-12-21T12:46:01 here is an example (on the left) of how these filters work: http://img708.imageshack.us/i/winuaecomparison.png/sr=1 2010-12-21T12:46:35 *** globus has quit IRC (Quit: Wychodzi) 2010-12-21T12:46:52 reminds me of windwaker a lil 2010-12-21T12:49:01 *** bhasker has joined #aichallenge 2010-12-21T12:55:11 *** Rubicon-|-Cross has joined #aichallenge 2010-12-21T13:04:27 *** McLeopold has quit IRC (Quit: Leaving.) 2010-12-21T13:09:53 *** delt0r___ has joined #aichallenge 2010-12-21T13:11:08 *** delt0r_ has quit IRC (Ping timeout: 245 seconds) 2010-12-21T13:24:00 so as far as limitations go 2010-12-21T13:24:16 how are the bots controlling the ants restricted, besides sight 2010-12-21T13:28:47 there are no other restrictions. one bot just controls all of his ants and the engine/server gives it an update of the visible game world each turn 2010-12-21T13:29:48 well you can only do one action per ant per turn (walk/harvest/attack/deposit) 2010-12-21T13:31:16 *** McLeopold has joined #aichallenge 2010-12-21T13:31:37 neat 2010-12-21T13:32:01 *** McLeopold has left #aichallenge 2010-12-21T14:04:38 *** yasith has quit IRC (Ping timeout: 264 seconds) 2010-12-21T14:07:05 *** janzert has quit IRC (Read error: Connection reset by peer) 2010-12-21T14:07:39 *** Naktibalda has joined #aichallenge 2010-12-21T14:08:34 *** janzert has joined #aichallenge 2010-12-21T14:09:20 *** dr- has quit IRC (Remote host closed the connection) 2010-12-21T14:13:28 *** amriedle has quit IRC (Quit: Lost terminal) 2010-12-21T14:21:20 that replay called epic demonstrates a flaw, i think 2010-12-21T14:21:52 where 2010-12-21T14:21:55 the ant hills became massive bottlenecks 2010-12-21T14:22:06 if you click on "epic" here http://marco-leise.homedns.org/antgui/v3/ 2010-12-21T14:22:31 aa, i was thinking like turn number or something :) 2010-12-21T14:22:40 but yeah, in the end 2010-12-21T14:22:56 the majority of the game is spent churning out ants and that's about it 2010-12-21T14:25:00 it runs really slow on my FF 2010-12-21T14:25:20 works alright in chrome 2010-12-21T14:25:46 bottlenecked so hard 2010-12-21T14:26:12 it is not very interesting 2010-12-21T14:26:50 i think one of the things i don't like about this game from looking at it so far is that there doesn't seem to be much strategy to it. it would be more interesting with better maps though, i think 2010-12-21T14:27:05 as it is right now, resource gathering and fighting are two distinct activities 2010-12-21T14:27:06 so... maybe if the place that churned out ants was actually a queen 2010-12-21T14:27:09 and could move 2010-12-21T14:27:30 thered be better usage of the territory 2010-12-21T14:27:33 *** nullkuhl has joined #aichallenge 2010-12-21T14:27:41 there is not much strategy in choosing where to attack, and there is no real concept of choking off your opponent's resources 2010-12-21T14:28:34 might be more interesting if the resources were far away from the ant hill, leading to lines of ants that have real weak points and devastating consequences when they are broken 2010-12-21T14:28:49 and it would also be much more like an ant colony, to boot 2010-12-21T14:35:27 *** Erika has quit IRC (Quit: Leaving) 2010-12-21T14:42:25 *** Sylph2 has joined #aichallenge 2010-12-21T14:42:53 *** Sylph has quit IRC (Read error: Connection reset by peer) 2010-12-21T14:45:04 *** Erika has joined #aichallenge 2010-12-21T14:47:59 *** JamesMG has quit IRC () 2010-12-21T14:52:14 *** JamesMG has joined #aichallenge 2010-12-21T15:16:39 *** Accoun has quit IRC () 2010-12-21T15:19:42 i think bringing tron back would be pretty awesome if we make it a variation 2010-12-21T15:20:22 each bot could control three bikes, maps could be larger to make more room for them, walls could be destroyed when their corresponding bikes are destroyed, and walls could block vision 2010-12-21T15:20:41 i think that would fundamentally change the game, but it would still be pretty simple 2010-12-21T15:22:36 it would indeed fundamentally change the game 2010-12-21T15:23:04 i like it 2010-12-21T15:23:40 i can imagine a scenario where it is better for a player to order a bike to destroy itself so that another bike is not destroyed, so that an enemy bike does not escape 2010-12-21T15:23:58 i'm making a forum post with the idea 2010-12-21T15:24:04 yeah 2010-12-21T15:24:43 i also see some interesting strategies involving obscuring a bike behind a wall intentionally so that it can construct a maze to trap you opponent in, then when the wall is destroyed or circumvented the opponent gets a surprise 2010-12-21T15:24:57 *your opponent 2010-12-21T15:25:02 and so on 2010-12-21T15:27:42 *** tapwater has joined #aichallenge 2010-12-21T15:30:27 *** Accoun has joined #aichallenge 2010-12-21T15:31:04 http://ai-contest.com/forum/viewtopic.php?f=21&t=1228&p=8326#p8326 2010-12-21T15:34:47 *** Accoun has quit IRC (Ping timeout: 250 seconds) 2010-12-21T15:35:25 jmcarthur: replied 2010-12-21T15:39:35 *** Accoun has joined #aichallenge 2010-12-21T15:40:11 and i've responded with some questions 2010-12-21T15:41:28 lol 2010-12-21T15:41:58 jmcarthur: i'm not saying it's a bad idea.. we just have to make sure the games are original enough that it doesn't get boring 2010-12-21T15:42:10 we don't want to have tron every contest, regardless of how awesome it is 2010-12-21T15:42:17 right. my question is about what makes it too similar 2010-12-21T15:42:33 well 2010-12-21T15:42:41 like... this is really nothing like the original when you get down to how you must approach it 2010-12-21T15:42:43 it's still bicycles on a grid 2010-12-21T15:42:47 same rules pretty much 2010-12-21T15:42:51 you can use the same mapgen 2010-12-21T15:43:42 you'd want a bigger space 2010-12-21T15:43:46 much bigger 2010-12-21T15:43:59 i know.. but like.. imagine some poor guy that kinda sucked at tron 2010-12-21T15:44:05 wants to enter the contest again 2010-12-21T15:44:16 and he's like: "ugh.. tron again? nah..." 2010-12-21T15:44:25 i'm not sure sucking at one implies sucking at the other 2010-12-21T15:44:25 imagine some poor guy who found out about the contest when the tron results were posted 2010-12-21T15:44:28 * Zannick 2010-12-21T15:44:50 but let's do something else for now, at least 2010-12-21T15:44:56 ok, fine 2010-12-21T15:45:04 how about 3 vs 3 snake? :P 2010-12-21T15:45:10 like.. jmcarthur's is pretty diff than the old one, i agree 2010-12-21T16:01:51 *** nullkuhl has quit IRC (Remote host closed the connection) 2010-12-21T16:02:24 *** bhasker_ has joined #aichallenge 2010-12-21T16:03:04 *** bhasker has quit IRC (Ping timeout: 255 seconds) 2010-12-21T16:10:28 *** tapwater has quit IRC (Quit: tapwater) 2010-12-21T16:43:06 *** bhasker_ has quit IRC (Quit: bhasker_) 2010-12-21T16:45:23 *** bhasker has joined #aichallenge 2010-12-21T16:49:17 *** mega1 has quit IRC (Quit: No Ping reply in 180 seconds.) 2010-12-21T16:49:34 *** mega1 has joined #aichallenge 2010-12-21T16:51:58 *** Mathnerd314 has joined #aichallenge 2010-12-21T16:59:24 *** p4p4p4 has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2010-12-21T17:01:26 I'm with amstan, doing tron again, even a variation, would be too similar 2010-12-21T17:01:49 and yes, i would treat me tron bot strategy pretty much exactly the same 2010-12-21T17:18:39 *** mega1 has quit IRC (Remote host closed the connection) 2010-12-21T17:35:53 *** jaspervdj has quit IRC (Quit: NEVER GONNA GIVE YOU UP NEVER GONNA LET YOU DOWN) 2010-12-21T17:36:02 *** Erika has quit IRC (Quit: Leaving) 2010-12-21T17:57:56 *** Palmik has quit IRC (Remote host closed the connection) 2010-12-21T18:09:42 *** amstan has quit IRC (Remote host closed the connection) 2010-12-21T18:12:13 *** mceier has quit IRC (Quit: leaving) 2010-12-21T18:36:43 *** JamesMG has quit IRC (Quit: home) 2010-12-21T18:37:33 *** Azrathud has joined #aichallenge 2010-12-21T18:42:02 *** yellowseed has quit IRC (Remote host closed the connection) 2010-12-21T18:51:06 *** sigh has joined #aichallenge 2010-12-21T19:29:03 *** Naktibalda has quit IRC (Remote host closed the connection) 2010-12-21T19:48:21 *** Rubicon-|-Cross has quit IRC (Quit: Leaving) 2010-12-21T19:55:42 *** bhasker has quit IRC (Ping timeout: 250 seconds) 2010-12-21T19:57:04 *** wh1teside has joined #aichallenge 2010-12-21T20:34:35 *** Sylph has joined #aichallenge 2010-12-21T20:36:34 dead channel is dead 2010-12-21T20:36:37 *** Sylph2 has quit IRC (Ping timeout: 245 seconds) 2010-12-21T20:40:45 Zannick: is your only issue with ants the fact that so many show up in a game atm? 2010-12-21T20:41:09 the number of grains on a square can be limited, including home base starting grains, and it could require more than 1 grain to spawn a new ant etc. 2010-12-21T20:41:23 i just had it spitting out heaps so the stupid ai would end up colliding etc. 2010-12-21T20:49:42 Frontier: what are you doing to centre the maps? that really ought to be done at the genator level 2010-12-21T20:57:19 antimatroid1: he just shifts by (home1 + home2)/2, with appropriate handling of wrapping 2010-12-21T20:58:46 antimatroid1: i'd recommend upping the grain per ant created, yeah 2010-12-21T20:59:15 but also the map generator needs a little improvement 2010-12-21T20:59:59 i may have other things but i just got home and i'm not thinking yet 2010-12-21T21:00:02 antimatroid1: but either way, you don't really want the result to be centred in the generator, as that makes the base location predictable again 2010-12-21T21:01:59 Zannick: i do agree about there being too many ants though 2010-12-21T21:02:32 "epic" definitely illustrated that 2010-12-21T21:03:03 sigh: true, perhaps the engine could pass each player completely different coordinate information, ensuring that the generated map you see is the same as the one that shows up on the visualiser 2010-12-21T21:03:20 still not helpful for debugging though 2010-12-21T21:03:49 i'm thinking maybe requiring 5 grains on base for a new ant with hp 5? 2010-12-21T21:03:55 I think everything should show the same coordinates 2010-12-21T21:03:59 and bases start with 20 grains and an ant 2010-12-21T21:04:23 sigh: the alternative is a shaded border around the actual map, showing the other side of the edge 2010-12-21T21:04:31 but limits the size of maps that will fit on the screen 2010-12-21T21:04:42 why start with 20 grains rather than 4 ants? 2010-12-21T21:05:01 could start with 4 ants, they wont know the path home though 2010-12-21T21:05:21 why? 2010-12-21T21:05:33 they can't all start on home base, they'd fuse 2010-12-21T21:05:54 they can start out next to home 2010-12-21T21:05:56 you could start them within view of home i guess 2010-12-21T21:06:19 why not just spawn one each of the first 5 moves though? 2010-12-21T21:06:42 just seems kind of pointless :P 2010-12-21T21:06:58 justs adds delay with no purpose 2010-12-21T21:06:59 its easier and seems just as good as the alternative :P 2010-12-21T21:08:57 how much do ants cost atm? 2010-12-21T21:11:23 *** delt0r_ has joined #aichallenge 2010-12-21T21:13:09 *** delt0r___ has quit IRC (Ping timeout: 255 seconds) 2010-12-21T21:15:34 sigh: 1 grain 2010-12-21T21:15:56 i had to up the number of ants earlier because the ai was real stupid 2010-12-21T21:16:00 it's slightly smarter as of last night 2010-12-21T21:16:37 each ant makes the move closest to something appealing, rather than making a random move 2010-12-21T21:18:30 even if they are moving into a wall? 2010-12-21T21:21:15 an ant can't walk into a wall 2010-12-21T21:21:17 such a move is ignored 2010-12-21T21:21:29 the engine also doesn't stop an ant from making more than one move atm 2010-12-21T21:21:33 i'll fix that up later 2010-12-21T21:21:48 the bot wont execute more than one ant per move though, so the games are valid 2010-12-21T22:06:58 *** corruptmemory has joined #aichallenge 2010-12-21T22:13:08 *** sigh has quit IRC (Ping timeout: 276 seconds) 2010-12-21T22:15:48 *** Azrathud has quit IRC (Ping timeout: 255 seconds) 2010-12-21T22:28:11 *** sigh has joined #aichallenge 2010-12-21T22:32:14 *** fmeyer has joined #aichallenge 2010-12-21T22:33:27 *** fmeyer has quit IRC (Client Quit) 2010-12-21T22:36:24 *** wh1teside has quit IRC (Ping timeout: 265 seconds) 2010-12-21T22:37:14 *** amriedle has joined #aichallenge 2010-12-21T22:37:53 *** wh1teside has joined #aichallenge 2010-12-21T22:45:31 *** corruptmemory has quit IRC (Quit: Leaving) 2010-12-21T22:46:19 *** corruptmemory has joined #aichallenge 2010-12-21T22:46:59 *** corruptmemory has quit IRC (Remote host closed the connection) 2010-12-21T22:56:54 *** amriedle has quit IRC (Quit: Lost terminal) 2010-12-21T22:57:01 *** corruptmemory has joined #aichallenge 2010-12-21T23:01:40 *** corruptmemory has quit IRC (Client Quit) 2010-12-21T23:02:02 *** corruptmemory has joined #aichallenge 2010-12-21T23:05:43 *** sigh has quit IRC (Remote host closed the connection) 2010-12-21T23:09:50 *** _Utkarsh <_Utkarsh!~admin@117.201.84.209> has quit IRC (Ping timeout: 276 seconds)