2011-02-11T00:04:14 I don't think I follow 2011-02-11T00:04:28 when you resolve food squares after battles 2011-02-11T00:04:31 what radius are you using? 2011-02-11T00:04:45 same as attack, but I think it should be smaller 2011-02-11T00:04:59 that's what i'm talking about, shall we add an extra parameter in everywhere for that? 2011-02-11T00:05:09 i'm wondering if 1 would work best for that 2011-02-11T00:05:15 yes 2011-02-11T00:05:21 it means you can never have a contest over a food square and you have to go right up to it 2011-02-11T00:05:30 it'd also make snakebot easier 2011-02-11T00:05:36 which is extremely important 2011-02-11T00:05:56 what should such a parameter be called? 2011-02-11T00:06:00 foodradius doesn't seem right? 2011-02-11T00:06:07 birthradius 2011-02-11T00:07:07 done 2011-02-11T00:07:10 on etherpad 2011-02-11T00:07:40 can you make everything monospace? 2011-02-11T00:07:42 all my timer stuff is in seconds, now i have to convert upon reading :P 2011-02-11T00:07:53 how would i do that? 2011-02-11T00:08:08 select all and change the font 2011-02-11T00:08:41 ? 2011-02-11T00:08:48 which font? 2011-02-11T00:08:48 to courier 2011-02-11T00:08:59 is that done? 2011-02-11T00:09:18 I don't see the change. I think my browser is just screwed up. 2011-02-11T00:10:26 yeah, it's the browser, chrome on linux 2011-02-11T00:12:44 McLeopold: 1 or 3 for birthradius do you think? 2011-02-11T00:12:53 5 2011-02-11T00:13:12 attack is 9 2011-02-11T00:13:17 or 10 2011-02-11T00:13:22 that's larger? 2011-02-11T00:13:34 view is 96 2011-02-11T00:14:45 yeah, but 4 for attack gives the 2 unit diamond 2011-02-11T00:15:20 so? 2011-02-11T00:15:35 you wont get battles with people up close 2011-02-11T00:15:42 because they wont be able to get anywhere near each other 2011-02-11T00:15:43 attack is 10 2011-02-11T00:16:05 oh, well, this is still with bad micro 2011-02-11T00:16:09 whatever 2011-02-11T00:16:21 don't make it 4, at least 5 2011-02-11T00:16:28 I don't like diamond shapes 2011-02-11T00:16:34 you're still wanting option 2 for battle aren't you? 2011-02-11T00:16:42 i'm still hoping for option 1 to prevail 2011-02-11T00:17:05 I'd rather have that, with some interesting game elements. But if we don't get other game elements, I'd go with 1 2011-02-11T00:17:07 it doesn't matter atm anyway 2011-02-11T00:17:34 yeah, I'm thinking rush to get tcp working, build the bot, then demonstrate option 2 is broken 2011-02-11T00:17:48 i think it's awesome how simple everything is with 1 yet still complex 2011-02-11T00:18:17 yes, jmcarthur and I were pleased with the elegance 2011-02-11T00:18:20 i'll put something in my makeMoves function when tcp turns up for testing 2011-02-11T00:24:26 hmm, this is starting to feel quite a bit like that snowman game 2011-02-11T00:27:11 *** chris_0076 has quit IRC (Ping timeout: 255 seconds) 2011-02-11T00:28:51 McLeopold: the larger the attack and birth radius's the more expensive it becomes to check the result of moves 2011-02-11T00:30:20 I'm looping through ants, so it only matters the number of ants 2011-02-11T00:30:38 Option 1 would be faster. 2011-02-11T00:31:48 looping through ants? 2011-02-11T00:31:55 oh, and finding distances? 2011-02-11T00:37:06 maybe 2011-02-11T00:37:10 I can't remember 2011-02-11T00:37:37 nope 2011-02-11T00:37:49 I'm doing a recursive check for enemies and crossing the ants of the list 2011-02-11T00:37:59 so, kinda looping through ants 2011-02-11T00:39:40 I need to learn make files 2011-02-11T00:41:00 *** chris_0076 has joined #aichallenge 2011-02-11T00:43:16 i was checking each ants cells within range for enemies 2011-02-11T00:43:40 yeah, same here 2011-02-11T00:43:59 and i had the directions in a constant array rather than actually painting outwards 2011-02-11T00:44:30 as in the arrays needed to add info to a location to get straight there 2011-02-11T00:46:33 McLeopold: if you have viewradius v and attackradius a, you need v > 2a +2 (i think) in order for option 1 battle resolution to be always calculatable for bots 2011-02-11T00:47:58 it will also make it much harder to see what the hell happened as the attack region gets larger 2011-02-11T00:48:12 v >= 2a 2011-02-11T00:48:34 oh yeah, i was thinking if they were just outside 2011-02-11T00:48:38 but then it'd be irrelevant :P 2011-02-11T00:48:46 it might get messier with euclidean 2011-02-11T00:49:14 v >= 2a+2 , cause ants can move toward each other 2011-02-11T00:49:25 and they won't know the status until after battle 2011-02-11T00:49:50 sure, but if you are working out moves to make, you want to "evaluate" a state to see what happens 2011-02-11T00:50:11 option 1 allows bots to be sure their "evaluation" is always correct for any anything close enough to touch them 2011-02-11T00:50:12 I think that's a good parameter for vision radius 2011-02-11T00:50:22 i'm not debating vision, i like that a lot 2011-02-11T00:50:32 i don't think fight and birth should be too large though 2011-02-11T00:50:35 me neither, I'm agreeing 2011-02-11T00:50:48 no, 5 max for attack 2011-02-11T00:51:01 maybe 10 2011-02-11T00:51:08 but no larger 2011-02-11T00:51:31 and, sry, I keep using radius^2 2011-02-11T00:51:37 my ideal game would be, view = 9.6, attack = 2, birth = 1, battle resolution 1 2011-02-11T00:57:14 McLeopold: is that just saying that if a square is an ant/food square when you first see it, you wont also see it as land? 2011-02-11T00:58:17 *** Mathnerd314 has quit IRC (Remote host closed the connection) 2011-02-11T01:00:13 *** delt0r___ has joined #aichallenge 2011-02-11T01:01:24 *** delt0r_ has quit IRC (Ping timeout: 240 seconds) 2011-02-11T01:02:34 aichallenge: McLeopold epsilon * r42b030b / (ants/Makefile ants/ants.py ants/engine.py): small changes, need to fix reporting of dead ants - http://bit.ly/gea3lr 2011-02-11T01:03:07 yeah, if I report 1,1 as an ant, I will never get an "L 1 1", because I can already assume it is land. 2011-02-11T01:04:32 cya 2011-02-11T01:04:37 *** McLeopold has quit IRC (Quit: Leaving) 2011-02-11T01:42:51 *** sigh has left #aichallenge ("Leaving") 2011-02-11T01:47:01 am i the only one who thinks it's ideal if a bot doesn't need to hold information across turns? 2011-02-11T01:47:16 particularly for beginners? which seems to be a high priority for a lot of people 2011-02-11T01:49:00 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-02-11T02:00:04 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-02-11T02:04:38 *** bhasker has joined #aichallenge 2011-02-11T02:04:39 antimatroid I've stated that view in the past and still feel it's ideal 2011-02-11T02:07:38 janzert: I think mcleopold is more concerned about minimising input passed 2011-02-11T02:07:46 but surely it's quite fast anywya? 2011-02-11T02:08:23 at worst each player needs to receive the same number of lines as squares 2011-02-11T02:08:34 yeah, it was in the past and I would certainly expect it not to be much here either 2011-02-11T02:09:16 right I would just send the whole map centered on the player's start square, with all unvisible squares blocked out 2011-02-11T02:09:29 the only downside of course is it gives away the map size right away 2011-02-11T02:09:41 so I could see changing it for that reason 2011-02-11T02:09:48 but not really for anything else 2011-02-11T02:10:00 i don't think there's need to centre it, just paint outwards from players squares printing any square info that is "seeable" 2011-02-11T02:10:16 minimizing IO amount certainly doesn't seem like a priority 2011-02-11T02:10:54 not centering it could give away number of players? 2011-02-11T02:11:05 i don't think so 2011-02-11T02:11:11 you're still getting the overall dimensions 2011-02-11T02:11:22 we could just translate the maps when generated, but i don't think it helps 2011-02-11T02:13:10 yeah, I guess maybe it doesn't give away any more than the overall size 2011-02-11T02:13:25 are we giving them that anyway initially or not? 2011-02-11T02:13:29 yes 2011-02-11T02:13:39 i think you could try and work out player numbers with dimensions 2011-02-11T02:13:50 work out what "region placements" allow for the given dimensions 2011-02-11T02:14:18 ahh, then yeah just send the the map with only the correct squares revealed and be done with it 2011-02-11T02:14:23 would it really change much strategy wise if we knew the number of starting players? 2011-02-11T02:14:51 possibly, depends a lot on what the details of the final game are of course 2011-02-11T02:14:51 provided you didn't know how many are currently alive 2011-02-11T02:15:00 *** javagamer has quit IRC (Ping timeout: 240 seconds) 2011-02-11T02:15:55 i guess it may change players starting behaviour 2011-02-11T02:18:11 *** javagamer has joined #aichallenge 2011-02-11T02:29:15 *** bhasker has quit IRC (Ping timeout: 272 seconds) 2011-02-11T02:34:25 *** bhasker has joined #aichallenge 2011-02-11T02:54:05 *** bhasker has quit IRC (Read error: Connection reset by peer) 2011-02-11T02:54:25 *** bhasker has joined #aichallenge 2011-02-11T02:59:31 *** bhasker has quit IRC (Ping timeout: 276 seconds) 2011-02-11T03:01:27 *** smellyhippy has quit IRC (Quit: Take your stinking clause off me you damn dirty predicate!) 2011-02-11T03:03:22 *** Meatkat has quit IRC (Ping timeout: 255 seconds) 2011-02-11T03:07:56 *** Palmik has joined #aichallenge 2011-02-11T03:10:54 *** Frontier has quit IRC (Remote host closed the connection) 2011-02-11T03:13:28 *** Frontier has joined #aichallenge 2011-02-11T03:14:13 *** Frontier has joined #aichallenge 2011-02-11T03:16:17 *** Frontier has quit IRC (Client Quit) 2011-02-11T03:16:41 *** Frontier has joined #aichallenge 2011-02-11T03:18:57 *** sigh has joined #aichallenge 2011-02-11T03:21:11 sigh: Is Australia still existing after flood and storm? 2011-02-11T03:22:07 it didn't really affect me down here in melbourne 2011-02-11T03:22:25 there was one day where the city was flooded but I was in sydney at the time 2011-02-11T03:22:35 managed to avoid all floods :D 2011-02-11T03:23:36 weathers been great in tassie 2011-02-11T03:23:49 if anything it's been a little too cold at night this summer 2011-02-11T03:25:22 we were having heat waves last week, I'd rather cold 2011-02-11T03:27:08 and then I flew up to sydney and copped another heat wave, 42C top :( 2011-02-11T03:31:31 *** boegel has joined #aichallenge 2011-02-11T03:35:29 *** tapwater has quit IRC (Quit: tapwater) 2011-02-11T03:41:36 yeah screw sydney, it's a dirty cirty 2011-02-11T03:41:38 city* 2011-02-11T03:42:50 :P 2011-02-11T03:43:19 http://tassie.org.au/ -> look for the apology at the bottom ^^ 2011-02-11T03:43:41 I see the next revolution coming up 2011-02-11T03:44:19 oh man, an underconstruction picture 2011-02-11T03:44:32 it's like a page from the 90s 2011-02-11T03:47:25 seems my net needs resetting 2011-02-11T03:47:29 been happening a lot :\ 2011-02-11T03:50:02 *** antimatroid has joined #aichallenge 2011-02-11T03:50:18 Frontier: there are some strange people here 2011-02-11T03:50:35 i think i might a good example 2011-02-11T03:50:42 might make* 2011-02-11T03:50:45 *** aerique has joined #aichallenge 2011-02-11T03:50:59 bah, stop stealing other people 2011-02-11T03:51:05 's joke opporunitiies 2011-02-11T03:51:21 *opportunities 2011-02-11T03:51:49 *** antimatroid1 has quit IRC (Ping timeout: 255 seconds) 2011-02-11T03:52:07 antimatroid: it is the government shutting down the internet to stop the communication between demonstrants 2011-02-11T03:52:22 o_O 2011-02-11T03:52:58 even the usa is contemplating a big red button to shut down the internet 2011-02-11T03:53:41 Frontier: the censorship talk was enough 2011-02-11T03:54:11 australian politics is possibly more of a joke than us politics 2011-02-11T03:54:14 for your internet connection or your nerves? 2011-02-11T03:54:23 my nerves 2011-02-11T03:54:34 i try not to spend too long thinking about political stuff, it makes me rage 2011-02-11T03:58:37 when wikipedia says "in coalition since 1944" does that mean you have the same government since 67 years? 2011-02-11T04:01:45 no idea 2011-02-11T04:01:53 we've got an independent now 2011-02-11T04:01:55 he's awesome 2011-02-11T04:02:05 are you talking tassie or australia? 2011-02-11T04:03:54 Is tassie an independent country? 2011-02-11T04:04:00 no 2011-02-11T04:04:11 it's a state of australia 2011-02-11T04:04:42 But you have an independent government there with all the rights over say... military forces? 2011-02-11T04:04:49 no 2011-02-11T04:04:59 each state has a local parliament 2011-02-11T04:05:07 i don't know how it works very well 2011-02-11T04:06:21 so there is a sex party, interesting ^^. i cannot recall anything like that in German history 2011-02-11T04:07:07 they only recently popped up 2011-02-11T04:08:12 as well as the secular party, as if we hadn't abolished religion in the state busines long ago 2011-02-11T04:08:34 gay marriage still isn't allowed here etc. 2011-02-11T04:08:38 it's pretty stupid 2011-02-11T04:08:57 if people want to hold a ceremony and call it marriage, it's of nobody elses business 2011-02-11T04:09:17 Does religion have a strong influence on politics? 2011-02-11T04:09:39 not a huge one, although it has made some appearances in the last few years when i wouldn't expect 2011-02-11T04:09:59 the prime minister is an atheist, but claims to not agree with gay marriage 2011-02-11T04:10:01 Well if it is a christian ceremony I can understand that priests say no. 2011-02-11T04:10:26 yeah sure, but you basically can't do a gay marriage and have it recognised even if the church is willing 2011-02-11T04:10:33 that is quite silly 2011-02-11T04:10:58 ah ok. 2011-02-11T04:11:56 if i was to ever do something like marriage, i'd probably get a civil union or whatever (provided the girl was cool with it) just out of protest 2011-02-11T04:12:38 now i need a dictionary 2011-02-11T04:12:54 i'm also a little disappointed at the amount of racism that's still here 2011-02-11T04:13:00 i've been surprised about that a few times too 2011-02-11T04:13:27 ah you mean a 'eingetragene Lebenspartnerschaft' 2011-02-11T04:13:38 haha what? 2011-02-11T04:13:39 hmm i prefer civil union 2011-02-11T04:13:46 it is way shorter 2011-02-11T04:14:26 i think the whole thing is insance, christians didn't invent the concept of marriage, they made similar arguments about inter racial marriage etc. it's insane that it's still even an issue 2011-02-11T04:14:31 insane* 2011-02-11T04:14:35 Racism against native australians or in general? 2011-02-11T04:14:47 probably both 2011-02-11T04:14:56 in general 2011-02-11T04:15:04 there are a lot of people who have a very negative view on emigration etc. 2011-02-11T04:15:33 worst was someone i had met down here raping and killing some uni student, the guy even had a gf, wtf, but that's a very big edge case 2011-02-11T04:15:42 there are quite a few racial bashings etc. though 2011-02-11T04:16:22 i used to think it was more that anyone is going to get bashed, of course some international people will, but the last few years, especially some stuff in tasmania has led me to think people actually do actively go out looking to attack people on racial motives 2011-02-11T04:16:26 it's quite disgusting 2011-02-11T04:16:35 Well you can find it here too. Some people believe that the Turks will flood Germany and make everything islamic and take our freedoms and... you get the idea 2011-02-11T04:17:16 you knew the rapist?! Oo 2011-02-11T04:17:30 i have met him, i never chose to associate with him 2011-02-11T04:17:36 the guy wasn't someone you want to associate with 2011-02-11T04:17:56 he was one of my friends old neighbours and was generally known around the skatepark where i spent a lot of my teen years 2011-02-11T04:18:44 and i'm pretty sure the guy got like 15-25 years in jail 2011-02-11T04:18:55 the australian legal system is far too leniant on violent crimes 2011-02-11T04:19:11 hopefully he gets enough time to think about it 2011-02-11T04:19:21 depends, some people thrive in prison 2011-02-11T04:19:45 although i doubt most would actually enjoy being in there 2011-02-11T04:20:05 i don't plan to ever find out 2011-02-11T04:20:48 The EU has recently requested that we should free prisoners that have ended their time in prison and are currently in "security capture" because they are still considered a danger to society 2011-02-11T04:21:31 i quite like our governments response to taking guntanomo (no idea how to spell) prisoners that aren't charged 2011-02-11T04:21:32 They say it is agains human rights to keep people captive after they payed their dues 2011-02-11T04:21:47 despite constantly touting the importance of innocent until proven guilty, they wanted nothing to do with them 2011-02-11T04:22:10 paid their dues is a very sketchy term 2011-02-11T04:22:20 the legal system seems very arbitrary sometimes 2011-02-11T04:22:29 sorry, i didn't find any other term in the quickness 2011-02-11T04:22:46 i don't like how inconsistent punishments are to crimes 2011-02-11T04:22:54 *** smellyhippy has joined #aichallenge 2011-02-11T04:23:05 it's often easy to find examples where crime a was obviously worse than crime b, but the punishment for crime a was more leniant 2011-02-11T04:23:07 they marked their time 2011-02-11T04:23:19 i think it should be one of the goals to have such a consistency 2011-02-11T04:23:22 it's a hard problem... you have to treat cases individually, but it leads to inconsistancies 2011-02-11T04:23:42 sigh: i know it's not an easy problem, but i think it could be handled better than it currently is 2011-02-11T04:24:02 well they have precedence cases 2011-02-11T04:24:03 sure, I agree 2011-02-11T04:24:13 i also don't understand why i can't partial vote in elections 2011-02-11T04:24:15 it's retarded 2011-02-11T04:24:18 but just saying that the current system sucks is not very productive 2011-02-11T04:24:32 partial vote? 2011-02-11T04:25:00 preference only some of the candidates, if my vote gets far enough to run out, it becomes invalid 2011-02-11T04:25:44 Oh how I wish to de-vote some people sometimes ^^ 2011-02-11T04:25:50 yeah, fair enough... although that won't affect the result in a meaningful way, you are still making a statement 2011-02-11T04:25:59 Frontier: why? 2011-02-11T04:26:02 I'm like "I vote for anything, but not THIS coalition" 2011-02-11T04:26:21 oh, i thought you weren't agreeing with what i said 2011-02-11T04:26:38 sigh: wilkie won in tassie because of fall through votes 2011-02-11T04:26:39 IRC downvotes :P 2011-02-11T04:26:43 No I was just laughing because it will never happen 2011-02-11T04:27:15 there were people in one electorate complaining because they didn't realise they were voting for an indiginous person that one 2011-02-11T04:27:18 won* 2011-02-11T04:27:33 lol what a fraud 2011-02-11T04:27:33 antimatroid: my point is that by not letting your votes run through, one of those candidates will still make office 2011-02-11T04:27:48 sigh: doesn't matter, i don't want my vote to go to them 2011-02-11T04:28:08 i was going to put an invalid vote in because i didn't care who won out of kevin or abbott 2011-02-11T04:28:10 antimatroid: I know, which is why I said it's more of a statement than anything that actually matters 2011-02-11T04:28:19 but i ended up passing the votes to labour, just because i can't stand abott 2011-02-11T04:28:28 what are you talking about. I don't think I have heard of such a voting system? 2011-02-11T04:28:35 sigh: try saying that to people about not voting :P 2011-02-11T04:28:54 an individual vote doesn't count for anything, people witnessing and acting upon that act or knowledge does 2011-02-11T04:28:57 Frontier: never heard of preferential voting 2011-02-11T04:28:58 ? 2011-02-11T04:29:13 Frontier: we do at least have a semi sane voting system 2011-02-11T04:29:20 uh maybe... it is a bit difficult in Englisch for me 2011-02-11T04:29:29 and semi compulsory voting 2011-02-11T04:29:42 if you never enrol, they never bother you, but if you enrol and don't vote, you get fined 2011-02-11T04:29:46 i find that amusingly stupid 2011-02-11T04:29:54 I'll look it up in Wikipedia 2011-02-11T04:30:34 antimatroid: they bothered me until I enrolled 2011-02-11T04:30:39 So you put yourself at risk for enrolling 2011-02-11T04:30:49 sigh: pretty sure they give up after a while 2011-02-11T04:30:54 a lot of my friends never enroled 2011-02-11T04:31:02 i see 2011-02-11T04:31:31 anyway, I'm happy to vote 2011-02-11T04:31:43 Oh cool, so you order the candidates by preference, rather than just making a cross next to a person 2011-02-11T04:31:43 Frontier: the christians are also bitching atm because of new ethics classes in primary schools 2011-02-11T04:31:47 sigh: same 2011-02-11T04:31:53 Frontier: right 2011-02-11T04:32:07 and if a candidate gets knocked out, your vote goes on to the next person 2011-02-11T04:32:15 so you don't have to worry much about wasting your vote 2011-02-11T04:32:32 but you have to preference everyone (or let the parties do it for you, most people do that) 2011-02-11T04:32:39 Hey MY religion teacher back then told me God and his son had an argument and they founded two seperate churches, catholic and protestant 2011-02-11T04:32:44 my argument is i should be able to preference some of them, then have my vote stop counting 2011-02-11T04:33:25 Frontier: more like people got pissed off with the pope for letting people buy their way into heaven :P 2011-02-11T04:34:33 i hear pope and think child abuse hehe 2011-02-11T04:35:00 See, now you have prejudices, too :o) 2011-02-11T04:35:22 i sit on the fence with religion, weak agnostic :P 2011-02-11T04:35:49 although that's more with a notion of god being something that created what we call the universe 2011-02-11T04:36:12 Sometimes religion works like opium for the people I think 2011-02-11T04:36:15 "god" is horrendously ill-defined 2011-02-11T04:36:42 sigh: i personally just take it to be that which created what we call the universe 2011-02-11T04:37:21 if no such god exists, then we came from nothing, before time or even the concept of nothing existed. if we were created, then what created the creator? same issue, ad infinitum 2011-02-11T04:37:29 that basically summarises my thoughts on religion 2011-02-11T04:37:32 I heard some religious muslim complain about how God in the western world is merely some guy up in the clouds with no relation to people's lives. He surely preferred to have a connection of politics and religion 2011-02-11T04:38:08 even then,"god" carries too many connotations... even if your description it is a *single*, *sentient* being who created the universe with a *purpose* 2011-02-11T04:38:16 antimatroid: And at some point you just stop caring. 2011-02-11T04:38:23 with probably many other implicit assumptions 2011-02-11T04:38:25 sigh: not necessarily 2011-02-11T04:38:56 i also hold such an agnostic view about whether something independent exists external to our universe, and whether it could ever be "known" that such a place exists etc. 2011-02-11T04:39:23 i simply argue that i have never been presented a sufficient argument to make me decide either way 2011-02-11T04:39:27 antimatroid: maybe not, but the way you describe it and also the way you label it strongly implies it, imo 2011-02-11T04:39:43 which is why I say that "god" is horrendously ill-defined 2011-02-11T04:39:57 people use it as a place holder for wildly different things 2011-02-11T04:40:00 as far as i'm concerned, i don't know i wasn't created 10 seconds ago with all my memories as part of a simulation to see how we'd act 2011-02-11T04:40:09 sure 2011-02-11T04:40:38 god is a term like ai. what is ai. did ai create us? 2011-02-11T04:40:59 and I don't know whether you are human, or just a very advanced talking giraffe, but I'm hardly on the fence about that :P 2011-02-11T04:41:01 "did ai create us?" that's a new one, i like it 2011-02-11T04:41:04 Do we flee into techocracy because we need religion? 2011-02-11T04:41:07 *typing 2011-02-11T04:41:38 i personally think religions were a way people exploited peoples need for answers in order to control them 2011-02-11T04:41:51 that is a naive view, I think 2011-02-11T04:42:00 and people wanting answers 2011-02-11T04:42:08 that is more reasonable 2011-02-11T04:42:40 given the prevelence of religion, even in small tribal communities... there is more to it than simple exploitation 2011-02-11T04:42:43 sounds like the opium view. back then when thunder and storm couldnt be explained it served as an explanation 2011-02-11T04:42:47 i do think quite a few religious people throughout human history were in it for control though 2011-02-11T04:43:11 sure, but they were using a tool which was already there 2011-02-11T04:43:32 I don't think that you could do something like that, unless people already had some predisposition 2011-02-11T04:44:36 hmm, i don't know, i expect even when such things were coming to exist the people molding what they became may not have always had pure intent 2011-02-11T04:44:54 Now I think of shamans smoking crazy things telling the tribe about the gods ^^ 2011-02-11T04:45:03 i do think most religious people are generally good people with pure intent though 2011-02-11T04:45:09 I think that the simplest explanation is that that people are pattern recognition machines, and more specifically intelligent-agent detectors... we anthropomorphise everything 2011-02-11T04:45:44 sigh... you need some fresh air :p 2011-02-11T04:46:36 what does antropomorphise mean ? 2011-02-11T04:47:34 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2011-02-11T04:47:45 applying it to nature is inevitable 2011-02-11T04:47:47 Wikipedia to the rescue 2011-02-11T04:48:01 *** antimatroid has joined #aichallenge 2011-02-11T04:48:15 Frontier: see, you shouldn't get me onto the topic of politics :P 2011-02-11T04:48:44 sεε, I ςαη dσ α lστ ωιτh γσμr mιηd ! 2011-02-11T04:50:01 Frontier: simplest definition is: "To attribute human characteristics to something that is non-human." 2011-02-11T04:50:09 Now that I know what it means - antropomorphism is one of the reasons why I don't believe in God. 2011-02-11T04:50:46 I don't quite understand what you mean? 2011-02-11T04:51:38 Well people usually imagine God as some person that is their better self. 2011-02-11T04:51:51 oh yes, sure 2011-02-11T04:52:16 aren't they the devil and angel on my shoulders? 2011-02-11T04:52:51 yeah... that's annoying to argue against it... they project their opinion onto God, who they claim is infalliable and thus render their opinions immune from critisism 2011-02-11T04:53:08 i'm right because God said so? 2011-02-11T04:53:14 sure 2011-02-11T04:53:25 i should try that in an exam 2011-02-11T04:53:49 :) 2011-02-11T04:53:59 Try to confuse christians with the conciousness and intelligence of apes 2011-02-11T04:54:20 but we are apes 2011-02-11T04:54:21 i love it when someone tries to argue animals don't have feelings or can't feel empathy 2011-02-11T04:54:27 *** Naktibalda has joined #aichallenge 2011-02-11T04:54:29 we are animals 2011-02-11T04:54:39 or when people don't understand what descendent means 2011-02-11T04:55:41 don't understand what descendent means? 2011-02-11T04:55:44 Even corvids have more social intelligence than any ant bot I program could ever have 2011-02-11T04:56:19 Our brain and the corvids brain must be descendents of the same ancestor 2011-02-11T04:56:33 sigh: it is said that we have a common ancestor with the apes of today 2011-02-11T04:56:43 not that we directly evolved from the apes you see around today 2011-02-11T04:56:47 So we can deduce that reptiles did have a form of social intelligence! 2011-02-11T04:56:58 antimatroid: we *are* apes of today 2011-02-11T04:56:59 i don't know exactly how they classify it, i think the common ancestor was technically an ape 2011-02-11T04:57:26 sigh: and the same argument for all of evolution 2011-02-11T04:57:28 Frontier: things can evolve more than once 2011-02-11T04:57:45 Frontier; haven't you played pokemon? sheez 2011-02-11T04:57:52 :P 2011-02-11T04:58:12 for example, eyes are so damn useful, that they have evolved independantly a few times 2011-02-11T04:58:29 oh, another one is people thinking something evolves something because it would be useful 2011-02-11T04:58:52 it makes me smirk when someone says an animal has this trait so it can do that 2011-02-11T04:59:07 no, the animal has that trait because it was a mutation that favoured survival 2011-02-11T04:59:13 sure :) 2011-02-11T05:00:00 we need a multiplayer evolution game 2011-02-11T05:00:01 sigh: I know the difference 2011-02-11T05:01:28 antimatroid: that is the main confusion that people have with intelligence, they see it as so obviously useful, they wonder why human levels of intelligence haven't evolved before 2011-02-11T05:01:28 oh man, n-player game tree's are more complicated than 2 player 2011-02-11T05:01:40 antimatroid: yes 2011-02-11T05:02:03 oh, i remember how i did it 2011-02-11T05:02:11 did what? 2011-02-11T05:02:12 i've done this before, it was messy, but works 2011-02-11T05:02:19 backward induction on an n-player tree 2011-02-11T05:02:38 I haven't done >2 player games 2011-02-11T05:02:54 me neither 2011-02-11T05:03:23 either way, even with perfect information you no longer have an optimal plan 2011-02-11T05:03:23 it's not really any different, pick a player at a node, make moves, at terminal nodes have a payoff for each player, then for a players turn, pick the node that gives the best payoff, given players below are playing "optimally" 2011-02-11T05:03:42 antimatroid cheats. he uses knowledge that is inside his brain and noone else has access to 2011-02-11T05:04:02 well, there is the possibility of having an optimal plan if you are so far ahead of everyone else that you can assume that they all act as a single entity and you can still beat them 2011-02-11T05:04:22 sigh: i don't think you can just treat them as another entity 2011-02-11T05:04:30 that assumes they are all cooperating against you 2011-02-11T05:04:38 often you want to cooperate with others 2011-02-11T05:04:50 antimatroid: I know, it was a pessimistic prediction 2011-02-11T05:05:06 my intentions are to use a tree with anything in a specified fighting range, then heuristic everything else 2011-02-11T05:05:10 in order to say that you can guarentee a win 2011-02-11T05:05:11 it results in your bot doing nothing agains this overwhelming force ^^ 2011-02-11T05:05:35 tree to branchy 2011-02-11T05:05:56 it will be another heuristic mash 2011-02-11T05:06:04 i have no idea how to work out your set of possible moves 2011-02-11T05:06:28 might have to start hashing things and use a decision tree for finding moves 2011-02-11T05:06:28 i'll worry about my set of moves, you just worry about yours 2011-02-11T05:06:49 I found a good illustration of that branchy tree: http://www.yellowdartstudios.com/December%20Song.jpg 2011-02-11T05:07:02 ah, and the promise of complex algorithms have started already 2011-02-11T05:07:09 Good leaves are scarce 2011-02-11T05:07:29 I remember hearing all that at the start of planet wars, and not a quater of that stuff ever for implemented 2011-02-11T05:07:45 heh, cool tree 2011-02-11T05:07:46 what do you two think about passing information? should it be the case that a bot can run without keeping information across turns and is easier to work out information from, or minimise the amount of input? 2011-02-11T05:08:08 the max information a player could have to receive each turn is width*height rows 2011-02-11T05:08:21 ideally bot gets the complete state each turn 2011-02-11T05:08:28 unless this is not feasible 2011-02-11T05:08:29 sigh: this one isn't unrealistic 2011-02-11T05:08:37 i had the tree with my planet wars bot :p 2011-02-11T05:08:39 it just sucked 2011-02-11T05:08:50 well, you didn't do too bad :) 2011-02-11T05:09:05 it's a lot clearer for this game, i'd put money on the top 20 bots having a strategy like that 2011-02-11T05:09:19 i wouldn't put money on anything 2011-02-11T05:09:22 i did for the amount of effort i put in :P 2011-02-11T05:09:43 sigh: you wouldn't put money on anything :P 2011-02-11T05:09:44 OT: Send the whole state information. Fog of war can be just fog. I think people will find a way to remember what was there when they could see it. 2011-02-11T05:09:45 I'm sure there were people below you who put in much more effort :) 2011-02-11T05:09:54 not even the earth to be spinning tomorrow? 2011-02-11T05:10:22 I'm still on the fence about that 2011-02-11T05:10:33 maybe god will stop it? 2011-02-11T05:10:49 maybe the universe is spinning around us futurama style 2011-02-11T05:10:52 Frontier: the problem at the moment is, if you walk out of range of say a food square and assume it's still there but it's not when it comes in view again, you are only implicitly told it's not there anymore by the fact that you aren't told there is food there 2011-02-11T05:11:17 oh, I don't this that the engine should remember your fog of war for you 2011-02-11T05:11:23 *don't think 2011-02-11T05:11:26 and you are also expected to keep information about where walls are 2011-02-11T05:11:39 sigh: say what? 2011-02-11T05:11:46 c'mon, you don't see food - there is no food. that's simple :) 2011-02-11T05:11:56 everyone knows that food can disappear 2011-02-11T05:12:00 i would paint outwards from players and just send them information about any square within view 2011-02-11T05:12:08 I don't think the engine should remember what you have seen in previous states 2011-02-11T05:12:17 sigh: agreed 2011-02-11T05:12:21 *previous turns 2011-02-11T05:12:21 sigh: second 2011-02-11T05:12:33 I will have another go at convincing McLeopold 2011-02-11T05:12:42 what does he say? 2011-02-11T05:12:50 he wants to minimise input amount 2011-02-11T05:12:54 but i don't think it's expensive 2011-02-11T05:13:10 it also makes the engine more complicated to store what people have seen etc. 2011-02-11T05:13:18 what does he propose for the info? 2011-02-11T05:13:20 antimatroid: What would the other solution to the food problem be? How would you tell a bot that food disappeared? 2011-02-11T05:13:40 Frontier: his solution is for people to work it out themselves or to not assume it's still there 2011-02-11T05:13:58 I think that the bots should just be told what they can currently see 2011-02-11T05:13:59 I don't see the difference right now 2011-02-11T05:14:17 sigh: input format is on etherpad, basically if you see a square for the first time, you get the info, then you never get sent info for that square again while it's a wall or land 2011-02-11T05:14:18 who am I agreeing with? 2011-02-11T05:14:27 sigh: me 2011-02-11T05:14:38 ok 2011-02-11T05:14:40 anyway fog of war makes you unsure of the food item beeing where it was seen last 2011-02-11T05:14:45 yes 2011-02-11T05:14:59 yes, the point is you don't explicitly get told it's not there when you get back in view 2011-02-11T05:15:23 but you get told when it is there? 2011-02-11T05:15:23 and it's just unecessarily messy to account for that 2011-02-11T05:15:29 yeah 2011-02-11T05:15:35 always best to keep it simple 2011-02-11T05:15:57 ideally you should be able to look at the current state output and have an idea of what's going on 2011-02-11T05:16:27 with starter bots, i was going to have it reset the map to everything unseeable each turn, then just take info for "seeable" squares 2011-02-11T05:16:40 that's extremely simple and doesn't present issues about not being given information explicitly 2011-02-11T05:17:16 how would you offset the coordinates? 2011-02-11T05:17:30 btw, knowledge of the map gen will allow people to predict the map, right? 2011-02-11T05:17:32 is the rest of the map just 'grey'? 2011-02-11T05:17:35 what do you mean? 2011-02-11T05:17:47 do you send the 'dirty rect'? 2011-02-11T05:17:59 i'm confused 2011-02-11T05:17:59 the smallest bounding box around visible tiles? 2011-02-11T05:18:16 players get sent information on a square per line basis 2011-02-11T05:18:23 or a verbose "row column data" for each visible tile? 2011-02-11T05:19:07 verbose style 2011-02-11T05:19:21 it was the entire char map each time, but that might be a bit costly 2011-02-11T05:19:29 but then again, view radius is quite large 2011-02-11T05:19:40 and consider the parsing overhead 2011-02-11T05:19:41 I am in favor of char map 2011-02-11T05:19:54 sigh: it might be like 200x200 every turn 2011-02-11T05:19:57 4000 chars 2011-02-11T05:20:01 40.000 2011-02-11T05:20:08 is that still cheap as? 2011-02-11T05:20:10 yeah, that one 2011-02-11T05:20:12 40kb 2011-02-11T05:20:34 you could do bounding-rect like frontier suggested 2011-02-11T05:20:41 consider you see 25% of the map, what would that be in verbose style? 2011-02-11T05:20:55 in which case it will usually be more efficient, imo 2011-02-11T05:20:55 sigh: then you need to provide coordinates 2011-02-11T05:21:20 some people are going to want to store info across turns, they'd have to pattern match it with that 2011-02-11T05:21:29 if you didn't give coords 2011-02-11T05:21:33 how much info are you sending or verbose mode? 2011-02-11T05:21:42 on average per turn 2011-02-11T05:21:49 no idea 2011-02-11T05:21:58 http://ietherpad.com/TR0zbEqvx1 2011-02-11T05:22:02 bot input is right at the top 2011-02-11T05:22:06 with a sample game just below 2011-02-11T05:23:17 If a line was "23 12 #" (7 bytes), then you are equal with the 1 char per square version as soon as you see 1/7 of the map 2011-02-11T05:23:54 it's even worse than that too 2011-02-11T05:24:11 alright, i'll try to get mcleopold back onto just sending the char map each turn 2011-02-11T05:24:23 i assume that is why mcleopold only wanted to send info about each square once 2011-02-11T05:24:35 i'm pretty sure 2011-02-11T05:24:43 next time he's on i'll chat to him 2011-02-11T05:26:01 mostly I like char array because it is simple, predictable and human readable 2011-02-11T05:26:25 do we need a visualizer after all? ;) 2011-02-11T05:26:43 and I think there are simple ways to compress the fog 2011-02-11T05:26:56 run length encoding? 2011-02-11T05:27:20 sure 2011-02-11T05:27:24 sigh: easy way to encode fog is min/max row/col then pring the coord of the left top square? 2011-02-11T05:27:39 yeah, that is simple 2011-02-11T05:27:40 *** mega1 has joined #aichallenge 2011-02-11T05:27:46 there are a few options 2011-02-11T05:28:07 that would make input a breeze too 2011-02-11T05:28:30 i might even ask for the lower right coords 2011-02-11T05:29:59 I think simplest option is to give top-left coord, then print one row per line, with characters up to the last non-fog character 2011-02-11T05:30:08 so each line doesn't have to be the same length 2011-02-11T05:30:25 then it will still be human readable, and should be quite efficient 2011-02-11T05:30:38 sigh: more info for the engine to work out and more effort to handle said input 2011-02-11T05:30:50 why not just print the smallest rectangle containing all visible regions? 2011-02-11T05:30:57 it would have to still be pretty fast 2011-02-11T05:31:42 this is actually easier than working out the bounding rect, for the engine 2011-02-11T05:31:42 imo 2011-02-11T05:32:02 because you don't need to know the right and lower edges of the bounding rect 2011-02-11T05:32:05 how? you need to find maxcol for each row? 2011-02-11T05:32:45 oh wait, nevermind :P 2011-02-11T05:32:48 hmm, maybe 2011-02-11T05:32:53 it's less human readable then 2011-02-11T05:33:00 just keep printing until you get to the last non-fog 2011-02-11T05:33:03 well, aesthetically anyway 2011-02-11T05:33:21 why? 2011-02-11T05:33:50 because the lines are of different length 2011-02-11T05:33:53 if fog is rendered as a space, then it looks no different at all 2011-02-11T05:34:18 how do i even read a space character? 2011-02-11T05:34:26 ? 2011-02-11T05:34:33 i'm pretty sure c++ skips over it unless you take it as a string then process that 2011-02-11T05:34:39 how unecessarily gross :P 2011-02-11T05:35:42 wallter is my new favourite word 2011-02-11T05:36:20 and then my internet dies again, damnit 2011-02-11T05:37:28 you should just be reading the input by line, bit using scanf or whatever it is that skips whitespace 2011-02-11T05:37:28 regardless of whether you have spaces 2011-02-11T05:37:28 s/bit/not 2011-02-11T05:37:49 wallter? 2011-02-11T05:38:00 *** antimatroid1 has joined #aichallenge 2011-02-11T05:38:56 how come your connection is still active for you to tell us that it died 2011-02-11T05:38:56 ? 2011-02-11T05:41:12 *** antimatroid has quit IRC (Ping timeout: 265 seconds) 2011-02-11T05:42:12 I would read the line as a whole and then use [] indexing. 2011-02-11T05:42:39 Whitespace skipping is optional on streams as well 2011-02-11T05:42:40 Frontier: yeah 2011-02-11T05:43:09 I hope I can try D2 on this contest 2011-02-11T05:43:15 sigh: no idea, my "net" often stops loading pages while msn and irc work fine 2011-02-11T05:43:19 D2? 2011-02-11T05:43:25 Though I should probably use Python or Lisp 2011-02-11T05:43:25 restarting the router fixes it 2011-02-11T05:43:44 sigh: The D programming language version 2 2011-02-11T05:43:44 that seem dodgy 2011-02-11T05:43:50 oh 2011-02-11T05:43:53 Frontier: why read the whole line? 2011-02-11T05:44:03 because it helps the performance 2011-02-11T05:44:46 hmmm okay 2011-02-11T05:45:01 if you read a character at a time you have a few more method calls and probaly error checking involved 2011-02-11T05:45:16 if i read strings it's effort to pull ints out 2011-02-11T05:45:23 unless i throw it into a stringstream 2011-02-11T05:45:26 which surely isn't more efficient 2011-02-11T05:45:29 also C++ can check for \n so you don't need to :p 2011-02-11T05:46:19 i'm curious as to how the engine sends the states to bots 2011-02-11T05:46:22 how did i solve that? 2011-02-11T05:46:27 does player 1 get to start thinking before player 2 etc.? 2011-02-11T05:48:04 oh yes, I did: cin >> m_game_state; 2011-02-11T05:48:18 that is way better than anything else 2011-02-11T05:49:25 antimatroid1: There could be threads or the server takes the time from when it started sending the information out 2011-02-11T05:49:51 and later checks if the time is up relative to each bots personal 'start time' 2011-02-11T05:52:49 Frontier: I have >> for state, but i still have to write the function 2011-02-11T05:53:33 actually I used a stringstream internally to be able to do a debug print of the whole information block 2011-02-11T05:53:56 i just have a Bug struct that has a file stream 2011-02-11T05:54:11 and it only actually adds something to a stream if it's got debugging set to true 2011-02-11T05:54:41 :-) 2011-02-11T05:55:38 i even used ++ for increment state while resolving moves etc. 2011-02-11T05:55:51 and indexing grids with locations etc. 2011-02-11T05:56:02 I didn't have any control about debug code. I used a logger config file to set the level of information in each code module 2011-02-11T05:56:08 although i can't index my grid vector inside grid with a location :( 2011-02-11T05:56:46 operator overloading is really nice as long as its function is intuitive 2011-02-11T05:56:51 *** Meatkat has joined #aichallenge 2011-02-11T05:56:52 yep 2011-02-11T05:57:00 and awful otherwise 2011-02-11T05:57:30 i've used things like |= for merging matrices etc. 2011-02-11T05:57:48 merging == augmenting 2011-02-11T05:58:22 I've used ^ for vector cross products 2011-02-11T05:58:40 like how intuitive bit-shifting is for stream io -_- 2011-02-11T05:58:41 hehe, i still hate not being able to set the precedence of that with matrices 2011-02-11T05:59:07 after all it is shifting data from the stream to some other place 2011-02-11T05:59:09 sigh: you say that like i've ever used it for bitshifting :P 2011-02-11T05:59:34 i like the <<, >> operators though 2011-02-11T05:59:45 I think it is a hack 2011-02-11T05:59:54 especially when you try to do formatting 2011-02-11T06:00:07 i don't like >> and pair> 2011-02-11T06:00:18 i hate doing pairs of pairs 2011-02-11T06:00:44 i get a little annoyed if i do 4d vectors with initialisation in one line 2011-02-11T06:00:55 i pretty much hate pairs altogether 2011-02-11T06:01:05 i should be able to index them as [0/1] 2011-02-11T06:01:19 wait.. who wrote the visibility check code today? 2011-02-11T06:01:30 which one? 2011-02-11T06:01:33 i did the c++ code 2011-02-11T06:01:39 the one with the pairs 2011-02-11T06:01:44 me 2011-02-11T06:02:00 i will sometimes use them, doesn't mean i like them 2011-02-11T06:09:26 Frontier: you wouldn't believe it, but i'm considering assigning ants an id in my bot :P 2011-02-11T06:10:04 O,O 2011-02-11T06:10:43 would I believe it? 2011-02-11T06:11:01 sigh: i kicked up a fuss about having to ant ids to my old engine for frontier 2011-02-11T06:11:09 having to add ant* 2011-02-11T06:11:21 ah 2011-02-11T06:12:50 It was a long discussion 2011-02-11T06:22:19 *** Meatkat_ has joined #aichallenge 2011-02-11T06:24:10 *** Meatkat has quit IRC (Ping timeout: 276 seconds) 2011-02-11T06:33:59 *** sigh has quit IRC (Remote host closed the connection) 2011-02-11T06:36:31 *** j3camero has quit IRC (Ping timeout: 276 seconds) 2011-02-11T06:36:47 *** j3camero has joined #aichallenge 2011-02-11T07:01:28 j3camero: you arne't playing galcon by any chance are you? 2011-02-11T07:01:51 some red asshole keeps trolling me every game, it must be you :P 2011-02-11T07:24:31 antimatroid1: http://codepad.org/mBrHjLJH :) 2011-02-11T07:26:59 Frontier: would that be much faster? 2011-02-11T07:27:24 i've not ever seen a lot of that syntax 2011-02-11T07:27:25 no it is the same 2011-02-11T07:27:59 yeah, but i'm using vectors and pair's etc. 2011-02-11T07:28:06 well, queue 2011-02-11T07:29:06 ok, i guess it is a little faster. but i didnt change the algorithm 2011-02-11T07:30:45 i didn't know of foreach 2011-02-11T07:31:17 it is D, but in C++ there is a boost library that adds foreach functionality 2011-02-11T07:31:40 have i got this right, if i have a vector >, then foreach(row; matrix) would be like iterating through with each row being a reference to each vector? 2011-02-11T07:31:45 ah, okay 2011-02-11T07:31:50 i was thinking that was c++ :P 2011-02-11T07:32:12 yes, you got that right 2011-02-11T07:32:35 D looks neat there 2011-02-11T07:33:31 Frontier: it's a neat little algorithm for filling out who can get where fastest 2011-02-11T07:33:52 our whole evaluation function for tron was based around doing that kind of thing 2011-02-11T07:36:32 I looked at some nice animations of the winning tron algorithm 2011-02-11T07:36:56 yeah, tron was a good game 2011-02-11T07:46:08 ahh, i think i remember how to do back induction on n-player trees 2011-02-11T07:46:13 it's a little more costly, but not too bad 2011-02-11T07:47:11 you want to back everyone's "payoff" back up, if there is a tie, for each of the non-moving players, bring up the worst payoff from the tieing options 2011-02-11T07:50:47 Frontier: http://i.imgur.com/IKtlA.png 2011-02-11T07:51:44 you'd have to go back through the optimal path to pull the moves out too 2011-02-11T07:53:15 good luck to people also working out how to prune such a beast 2011-02-11T08:02:18 i wish i could get a queue to both pop and return that element in the one call 2011-02-11T08:02:43 it's the difference to putting brackets around things 2011-02-11T08:09:09 *** Palmik has quit IRC (Remote host closed the connection) 2011-02-11T08:44:40 *** pyro- has joined #aichallenge 2011-02-11T09:00:45 *** delt0r_ has joined #aichallenge 2011-02-11T09:02:55 *** delt0r___ has quit IRC (Ping timeout: 276 seconds) 2011-02-11T09:18:17 *** boegel has quit IRC (Quit: *poof!*) 2011-02-11T09:27:39 nobody looked at my tree? :( 2011-02-11T09:28:03 delt0r_: did you see my n-player tree link? 2011-02-11T09:28:13 no 2011-02-11T09:28:16 http://i.imgur.com/IKtlA.png 2011-02-11T09:28:30 it's messy, but i think that outlines sort of how to do backward induction with n players 2011-02-11T09:29:19 basically, pull back payoffs for each player, if there's a tie for the current players children, bring up the worst possible payoff for each of the other players 2011-02-11T09:30:03 if it still ties, tie break like you would with 2 player, pick first child or randomly 2011-02-11T09:31:02 or you could average the payoffs of the tieing children i suppose 2011-02-11T09:32:30 what are we talking about? 2011-02-11T09:32:41 a game tree with 3 players 2011-02-11T09:32:47 each player has two choices 2011-02-11T09:32:58 then running backward induction to find the "best" move 2011-02-11T09:33:55 start at the bottom and work your way back up to see where the other numbers come from 2011-02-11T09:38:08 actually, you do get the "payoffs" if there are no ties, and otherwise the "worst" payoff assuming everyone plays optimally 2011-02-11T09:38:47 ah crap 2011-02-11T09:38:54 "assuming everyone plays optimally" 2011-02-11T10:06:22 *** amstan has joined #aichallenge 2011-02-11T10:06:23 *** ChanServ sets mode: +o amstan 2011-02-11T10:32:05 *** jmcarthur has quit IRC (Ping timeout: 255 seconds) 2011-02-11T10:32:07 *** chris_0076 has quit IRC (Ping timeout: 265 seconds) 2011-02-11T10:32:07 *** dsockwell has quit IRC (Ping timeout: 265 seconds) 2011-02-11T10:32:08 *** dsockwell has joined #aichallenge 2011-02-11T10:32:51 *** mega1 has quit IRC (*.net *.split) 2011-02-11T10:32:52 *** Cyndre_ has quit IRC (*.net *.split) 2011-02-11T10:32:52 *** acieroid has quit IRC (*.net *.split) 2011-02-11T10:32:53 *** janzert has quit IRC (*.net *.split) 2011-02-11T10:32:54 *** delt0r_ has quit IRC (*.net *.split) 2011-02-11T10:32:54 *** Kingpin13 has quit IRC (*.net *.split) 2011-02-11T10:32:55 *** nullkuhl_ has quit IRC (*.net *.split) 2011-02-11T10:32:55 *** Error323 has quit IRC (*.net *.split) 2011-02-11T10:32:55 *** jmpespxoreax has quit IRC (*.net *.split) 2011-02-11T10:32:57 *** antimatroid1 has quit IRC (*.net *.split) 2011-02-11T10:32:57 *** Apophis has quit IRC (*.net *.split) 2011-02-11T10:32:58 *** BtbN has quit IRC (*.net *.split) 2011-02-11T10:32:59 *** pyro- has quit IRC (*.net *.split) 2011-02-11T10:33:01 *** Meatkat_ has quit IRC (*.net *.split) 2011-02-11T10:33:01 *** aerique has quit IRC (*.net *.split) 2011-02-11T10:33:01 *** iFire` has quit IRC (*.net *.split) 2011-02-11T10:33:02 *** pgpaskar_ has quit IRC (*.net *.split) 2011-02-11T10:33:02 *** amstan has quit IRC (*.net *.split) 2011-02-11T10:33:04 *** AlliedEnvy has quit IRC (*.net *.split) 2011-02-11T10:33:04 *** Zannick has quit IRC (*.net *.split) 2011-02-11T10:33:04 *** dr`away has quit IRC (*.net *.split) 2011-02-11T10:33:05 *** smellyhippy has quit IRC (*.net *.split) 2011-02-11T10:33:06 *** nann has quit IRC (*.net *.split) 2011-02-11T10:33:07 *** JamesMG has quit IRC (*.net *.split) 2011-02-11T10:33:07 *** politik has quit IRC (*.net *.split) 2011-02-11T10:33:08 *** Accoun has quit IRC (*.net *.split) 2011-02-11T10:33:10 *** Naktibalda has quit IRC (*.net *.split) 2011-02-11T10:33:12 *** jbroman has quit IRC (*.net *.split) 2011-02-11T10:33:13 *** davidd has quit IRC (*.net *.split) 2011-02-11T10:33:13 *** chris_0076 has joined #aichallenge 2011-02-11T10:33:13 *** jmcarthur has joined #aichallenge 2011-02-11T10:35:00 *** smellyhippy has joined #aichallenge 2011-02-11T10:35:00 *** amstan has joined #aichallenge 2011-02-11T10:35:00 *** delt0r_ has joined #aichallenge 2011-02-11T10:35:00 *** pyro- has joined #aichallenge 2011-02-11T10:35:00 *** Meatkat_ has joined #aichallenge 2011-02-11T10:35:00 *** antimatroid1 has joined #aichallenge 2011-02-11T10:35:00 *** mega1 has joined #aichallenge 2011-02-11T10:35:00 *** Naktibalda has joined #aichallenge 2011-02-11T10:35:00 *** aerique has joined #aichallenge 2011-02-11T10:35:00 *** Cyndre_ has joined #aichallenge 2011-02-11T10:35:00 *** iFire` has joined #aichallenge 2011-02-11T10:35:00 *** Accoun has joined #aichallenge 2011-02-11T10:35:00 *** Kingpin13 has joined #aichallenge 2011-02-11T10:35:00 *** Apophis has joined #aichallenge 2011-02-11T10:35:00 *** nann has joined #aichallenge 2011-02-11T10:35:00 *** nullkuhl_ has joined #aichallenge 2011-02-11T10:35:00 *** acieroid has joined #aichallenge 2011-02-11T10:35:00 *** janzert has joined #aichallenge 2011-02-11T10:35:00 *** davidd has joined #aichallenge 2011-02-11T10:35:00 *** jbroman has joined #aichallenge 2011-02-11T10:35:00 *** Error323 has joined #aichallenge 2011-02-11T10:35:00 *** AlliedEnvy has joined #aichallenge 2011-02-11T10:35:00 *** Zannick has joined #aichallenge 2011-02-11T10:35:00 *** jmpespxoreax has joined #aichallenge 2011-02-11T10:35:00 *** dr`away has joined #aichallenge 2011-02-11T10:35:00 *** JamesMG has joined #aichallenge 2011-02-11T10:35:00 *** pgpaskar_ has joined #aichallenge 2011-02-11T10:35:01 *** BtbN has joined #aichallenge 2011-02-11T10:35:01 *** politik has joined #aichallenge 2011-02-11T10:35:01 *** card.freenode.net sets mode: +o amstan 2011-02-11T10:37:05 *** bhasker has joined #aichallenge 2011-02-11T10:38:08 *** dsockwell has quit IRC (*.net *.split) 2011-02-11T10:38:11 *** ssalbiz has quit IRC (*.net *.split) 2011-02-11T10:38:11 *** delt0r has quit IRC (*.net *.split) 2011-02-11T10:38:30 *** Zepp_ has joined #aichallenge 2011-02-11T10:39:20 *** bhasker_ has joined #aichallenge 2011-02-11T10:39:39 *** dsockwell has joined #aichallenge 2011-02-11T10:39:39 *** ssalbiz has joined #aichallenge 2011-02-11T10:39:39 *** delt0r has joined #aichallenge 2011-02-11T10:41:04 *** smellyhippy has quit IRC (Changing host) 2011-02-11T10:41:04 *** smellyhippy has joined #aichallenge 2011-02-11T10:41:30 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-02-11T10:42:57 *** Zepp has quit IRC (Remote host closed the connection) 2011-02-11T10:47:49 best thing about easter has to be chocolate hot cross buns 2011-02-11T10:52:33 *** aerique has quit IRC (Quit: ...) 2011-02-11T11:07:56 *** mega1_ has joined #aichallenge 2011-02-11T11:08:48 *** bhasker_ has quit IRC (Quit: bhasker_) 2011-02-11T11:23:22 *** McLeopold has joined #aichallenge 2011-02-11T11:24:47 antimatroid1: you still up 2011-02-11T11:26:06 yeah 2011-02-11T11:26:12 what's up? 2011-02-11T11:28:16 I saw the alternate format. 2011-02-11T11:28:29 I'm surprised janzert thinks we don't need to compress input/output 2011-02-11T11:28:44 If that's the case, I would favor sending the map picture everytime. 2011-02-11T11:29:00 Jeff wanted only the changes sent, so I thought input/output was a priority. 2011-02-11T11:29:28 McLeopold: I don;t think it will cost that much difference 2011-02-11T11:29:44 input really ought to be quite fast compared to other things 2011-02-11T11:30:12 i'm unsure about how to do it though now 2011-02-11T11:30:27 i don't really like frontiers one, it's too complicated 2011-02-11T11:31:54 it's really just RLE 2011-02-11T11:32:07 not as nice for beginners 2011-02-11T11:33:20 McLeopold: would it be hard to support both full char maps and current turn input? 2011-02-11T11:33:28 then we can see if it does cause much issues 2011-02-11T11:36:47 McLeopold: also, i'd probably treat ants walking into walls like a collision if possible? 2011-02-11T11:36:58 that would work best with the visualiser 2011-02-11T11:37:00 no, the order is ignored 2011-02-11T11:37:08 hmm okay 2011-02-11T11:37:09 it's an invalid order 2011-02-11T11:37:26 i would have thought given colliding friends die that ant might die as well 2011-02-11T11:37:49 either way, people shouldn't be making such a move 2011-02-11T11:37:55 so it's not important 2011-02-11T11:39:08 we could fuse the ants, but it's harder to code 2011-02-11T11:39:49 I'm marking any square with more than one ant as a conflict, then later for other bot moves, anyone who moves there dies as well. 2011-02-11T11:40:28 I guess fuse wouldn't be too hard 2011-02-11T11:40:51 we could just say that only one of your ant's lives, because you confused them into attacking 2011-02-11T11:41:14 so, do you have some pseudo code for me, on your vision algo? 2011-02-11T11:42:47 when you mark a square as a conflict, is that with just ants moving into the square? because you can move an ant into a square that has an ant moving out yeah? 2011-02-11T11:43:16 if you did fusion, you might need to work out that info to send to frontier too 2011-02-11T11:43:28 i don't mind it being death 2011-02-11T11:43:49 umm.. didn't someone say your code was doing what i am for vision radius? 2011-02-11T11:43:50 I only consider the destination square, so yes, only ants moving there 2011-02-11T11:43:57 So, ant's can swap places 2011-02-11T11:44:13 do you check to make sure an ant wasn't left in a square to which an ant moved into? 2011-02-11T11:44:23 or do you "move" an ant when it goes nowhere? 2011-02-11T11:44:52 no pseudo code, frontier rewrote it in D 2011-02-11T11:44:56 I get a list of all destinations. Ants that don't move are considered to have the destination of where there are. 2011-02-11T11:45:11 Then I just check for duplicate destinations. 2011-02-11T11:45:29 So I don't need to considered the order in which the moves are sent. 2011-02-11T11:45:56 McLeopold: http://codepad.org/mBrHjLJH 2011-02-11T11:46:04 that was frontier's copy of it if it makes any more sense 2011-02-11T11:47:16 what is ~=? 2011-02-11T11:47:31 append that array to the 2d array 2011-02-11T11:47:40 (i assume, i have never used D) 2011-02-11T11:49:18 popBack()? 2011-02-11T11:49:32 remove the last element from the 2d array 2011-02-11T11:49:50 oh, so squaresToCheck.back[0] gets stuff from the array backwards 2011-02-11T11:50:06 in python, we use negative numbers 2011-02-11T11:50:30 hmmm, isn't that a stack? 2011-02-11T11:50:38 maybe it's adding things to the front 2011-02-11T11:50:41 then taking them off the back 2011-02-11T11:50:58 that's not how i think of a queue 2011-02-11T11:51:03 do you know what TDIRECTIONS should be? 2011-02-11T11:51:15 and getLocation? 2011-02-11T11:51:20 const int TDIRECTIONS = 4 2011-02-11T11:51:26 hang on 2011-02-11T11:53:12 *** tapwater has joined #aichallenge 2011-02-11T11:53:30 http://codepad.org/8Ui1wHhe 2011-02-11T11:53:36 my getLocation function is like that 2011-02-11T11:54:25 Location is just a struct with a row and col variable 2011-02-11T11:55:18 well, you are only setting visited to true once, but at the cost of all the queue management 2011-02-11T11:55:41 plus, if you see a fellow ant, aren't you not using his vision too? 2011-02-11T11:56:05 the way you scan out, you will see a square visible to the closest ant 2011-02-11T11:56:16 any tie and it doesn't matter "who" sees it first 2011-02-11T11:56:33 if you marked it as visited once but did each ant sequentially, the algorithm would break 2011-02-11T11:56:40 okay, I get it 2011-02-11T11:57:00 you will want to use that later for seeing who can get where fastest 2011-02-11T11:57:07 in your bot 2011-02-11T11:57:17 not with walls? 2011-02-11T11:57:29 you can just not add a wall square 2011-02-11T11:58:01 which blocks movement 2011-02-11T11:58:23 my tron evaluation function was pretty much, whats the difference in number of squares acceible fastest 2011-02-11T11:58:27 we could block vision this way 2011-02-11T11:58:35 with edge conditions for separating, drawing, winning, losing etc. 2011-02-11T11:58:57 block vision with walls? sure, same with fighting, but i think it's more interesting without that 2011-02-11T11:59:34 you can see something attractive through a wall and potentially not be able to get there easily 2011-02-11T11:59:48 and it makes blocking small regions off harder if people can get you through the walls 2011-02-11T11:59:57 okay, I'm going to try this in python 2011-02-11T12:00:10 i'm going to bed shortly 2011-02-11T12:00:18 i've been playing lots of galcon 2011-02-11T12:00:20 i blame jeff 2011-02-11T12:05:29 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-02-11T12:05:52 antimatroid1: I don't get the ans variable 2011-02-11T12:06:01 why is it being incremented? 2011-02-11T12:06:45 McLeopold: that's a function to tell me the number of visible squares, it's counting how many squares are "visible" 2011-02-11T12:07:07 just get rid of that if you don't want that number 2011-02-11T12:07:11 oh, but I need a mask 2011-02-11T12:07:20 mask? 2011-02-11T12:07:47 yes, a mask, have you worked with graphic sprites? 2011-02-11T12:07:54 no? 2011-02-11T12:08:11 i'm more of a maths/economics student than programmer 2011-02-11T12:08:24 http://babek.info/libertybasicfiles/lbnews/nl143/sprite.htm 2011-02-11T12:09:53 i don't get what you need a mask for? 2011-02-11T12:19:32 McLeopold: or is that for filling unviewable squares? 2011-02-11T12:19:51 can't you mark what is/isn't viewable, and print out a different value depending, or is that costly? 2011-02-11T12:24:46 *** boegel_ has joined #aichallenge 2011-02-11T12:25:09 *** boegel_ has joined #aichallenge 2011-02-11T12:43:55 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) 2011-02-11T12:52:46 *** amstan has joined #aichallenge 2011-02-11T12:52:46 *** ChanServ sets mode: +o amstan 2011-02-11T12:56:22 *** boegel_ has quit IRC (Ping timeout: 240 seconds) 2011-02-11T13:04:14 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-02-11T13:44:23 *** amstan has joined #aichallenge 2011-02-11T13:44:23 *** ChanServ sets mode: +o amstan 2011-02-11T13:46:19 *** bhasker has joined #aichallenge 2011-02-11T14:17:56 *** Zepp_ is now known as Zepp 2011-02-11T14:19:48 *** choas has joined #aichallenge 2011-02-11T14:20:34 *** boegel has joined #aichallenge 2011-02-11T14:41:53 *** Naktibalda has joined #aichallenge 2011-02-11T15:02:59 *** amstan has quit IRC (Ping timeout: 255 seconds) 2011-02-11T15:06:23 *** amstan has joined #aichallenge 2011-02-11T15:06:25 *** ChanServ sets mode: +o amstan 2011-02-11T15:18:38 *** Prillicy has joined #aichallenge 2011-02-11T15:18:55 afternoon everyone 2011-02-11T15:19:58 *** chris_0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-11T15:21:06 Hi Prillicy 2011-02-11T15:22:28 anything interesting happen today? 2011-02-11T15:22:42 I finally understood the vision code 2011-02-11T15:23:55 It's been dead today, and on the forums. 2011-02-11T15:24:13 *** Accoun has quit IRC () 2011-02-11T15:24:17 I think people have hit burn out, until something is implemented and announced. 2011-02-11T15:30:13 I'm working on my starter pack, but given the output isn't even really clearly defined, I don't know what to say 2011-02-11T15:30:52 i've just been busy with work 2011-02-11T15:36:33 *** amstan has quit IRC (Read error: Connection reset by peer) 2011-02-11T15:38:05 *** Accoun has joined #aichallenge 2011-02-11T15:38:10 bah, this starter program is trickier than I thought. I need to focus on something else 2011-02-11T15:38:15 do you guys need anything coded? 2011-02-11T15:38:26 I'd like to learn a little python, and what opportunity to practice right? 2011-02-11T15:38:39 something small that you just don't feel like doing right now? 2011-02-11T15:40:29 fine then, I'll try to fix my ide cables and see if I can install linux as a dualboot on my desktop 2011-02-11T15:44:05 check with amstan, zannick or janzert for tasks. 2011-02-11T15:44:19 I think amstan wants some site redesign work done. 2011-02-11T15:44:42 not python, but definitely doable 2011-02-11T15:44:58 zeta is going to be in django 2011-02-11T15:45:13 I think epilepsy is in php. 2011-02-11T15:45:23 *epsilon* 2011-02-11T15:46:29 I think the other big task is a ranking system for multi-player games. I'm not sure where to start hooking that into the system. 2011-02-11T15:46:43 You could also try to write a map generator. 2011-02-11T15:46:52 That should be easy python. 2011-02-11T15:47:01 Or fix mine 2011-02-11T15:47:29 https://github.com/aichallenge/aichallenge/blob/epsilon/ants/McMaps.py 2011-02-11T15:47:47 it crashes half the time 2011-02-11T15:48:04 probably a row /col backwards or something 2011-02-11T16:00:16 *** Pat61 has joined #aichallenge 2011-02-11T16:00:31 *** Pat61 is now known as Chris_0076 2011-02-11T16:01:06 O_O I think my power supply just burned up on my main comp. 2011-02-11T16:01:37 that's pretty bad 2011-02-11T16:01:40 much worse than my situtaion 2011-02-11T16:01:47 I think I just need to replace my IDE cable 2011-02-11T16:01:55 going to have to try this once more 2011-02-11T16:02:20 ... I am really hoping that it not my cpu that burned up though 2011-02-11T16:02:52 that would be worse 2011-02-11T16:02:56 though, there are no beeps, so i figure i am fine there 2011-02-11T16:03:02 *crosses fingers* 2011-02-11T16:05:26 O_o i did not relize there was so much to testing a power supply O_o 2011-02-11T16:07:09 *** aerique has joined #aichallenge 2011-02-11T16:07:37 *** Prillicy has quit IRC (Read error: Connection reset by peer) 2011-02-11T16:08:09 *** Prillicy has joined #aichallenge 2011-02-11T16:14:56 *** mega1 has quit IRC (Remote host closed the connection) 2011-02-11T16:16:57 *** Chris_0076 has quit IRC (Quit: Leaving) 2011-02-11T16:42:32 *** Prillicy_ has joined #aichallenge 2011-02-11T16:43:18 *** Kingpin13 has quit IRC (Quit: You're a kitty!) 2011-02-11T16:43:38 *** Prillicy has quit IRC (Ping timeout: 250 seconds) 2011-02-11T16:43:42 *** Prillicy_ is now known as Prillicy 2011-02-11T16:43:50 *** amstan has joined #aichallenge 2011-02-11T16:43:50 *** ChanServ sets mode: +o amstan 2011-02-11T16:48:53 *** elimisteve has left #aichallenge ("Peace") 2011-02-11T16:55:02 *** Naktibalda has quit IRC (Remote host closed the connection) 2011-02-11T17:00:51 *** delt0r___ has joined #aichallenge 2011-02-11T17:02:16 *** delt0r_ has quit IRC (Ping timeout: 250 seconds) 2011-02-11T17:21:01 *** mega1 has joined #aichallenge 2011-02-11T17:27:48 *** javagamer has quit IRC (Quit: Leaving) 2011-02-11T17:30:04 *** Mathnerd314 has joined #aichallenge 2011-02-11T17:30:16 *** javagamer has joined #aichallenge 2011-02-11T17:32:56 *** aerique has quit IRC (Quit: ...) 2011-02-11T17:40:19 *** sigh has joined #aichallenge 2011-02-11T17:53:22 *** mega1 has quit IRC (Ping timeout: 246 seconds) 2011-02-11T18:02:16 *** iFire` is now known as iFire 2011-02-11T18:05:24 *** choas has quit IRC (Quit: leaving) 2011-02-11T18:11:16 *** antimatroid has joined #aichallenge 2011-02-11T18:13:19 *** antimatroid1 has quit IRC (Ping timeout: 246 seconds) 2011-02-11T18:16:23 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-02-11T18:17:05 *** mceier has joined #aichallenge 2011-02-11T18:17:32 *** bhasker has joined #aichallenge 2011-02-11T18:22:02 McLeopold: what are the maps like that come from your generator? 2011-02-11T18:22:51 and you switch between row,col and y,x in the one program, doesn't that confuse the hell out of you? 2011-02-11T18:37:15 it did 2011-02-11T18:37:30 All matrix access is row,col or y,x 2011-02-11T18:37:41 all tuple locations are col,row or x,y 2011-02-11T18:38:07 *** Meatkat_ has quit IRC (Ping timeout: 276 seconds) 2011-02-11T18:38:23 if everyone hates the switch, then I'm going all col,row and x,y 2011-02-11T18:38:49 antimatroid: also, my generator sucks 2011-02-11T18:39:14 it takes about 20 maps to come up with one that works ok 2011-02-11T18:39:20 it was a hack job 2011-02-11T18:39:23 *** Prillicy has quit IRC (Read error: Connection reset by peer) 2011-02-11T18:39:57 *** Prillicy has joined #aichallenge 2011-02-11T18:41:06 McLeopold: i like the idea of carving the map out of walls 2011-02-11T18:42:01 McLeopold: frontier had said he'd prefer x,y input for the visualiser, but otherwise i think it's fairly open what happens 2011-02-11T18:44:01 I'm also going to create a map with random noise and try some image filters on it 2011-02-11T18:44:43 yes, he'll get x,y info, since that is what the bot communication is 2011-02-11T18:49:24 *** sigh has quit IRC (Remote host closed the connection) 2011-02-11T18:54:00 *** nann has quit IRC (Read error: Connection reset by peer) 2011-02-11T18:54:26 *** Apophis has quit IRC (Read error: Connection reset by peer) 2011-02-11T18:57:07 *** Apophis has joined #aichallenge 2011-02-11T18:59:09 *** Prillicy has quit IRC (Ping timeout: 240 seconds) 2011-02-11T19:01:00 *** Prillicy has joined #aichallenge 2011-02-11T19:01:23 it successfully crashed the first time it tried, accidentally formatting enough of my window's partition that basically meant I might as well format the whole thing...Then it followed that move up by crashing a second time and giving me debug info to download, as if I could even use it. 2011-02-11T19:09:03 *** Prillicy_ has joined #aichallenge 2011-02-11T19:10:24 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-02-11T19:10:45 *** Prillicy has quit IRC (Ping timeout: 276 seconds) 2011-02-11T19:10:57 *** Prillicy_ is now known as Prillicy 2011-02-11T19:14:16 *** Prillicy has quit IRC (Read error: Connection reset by peer) 2011-02-11T19:15:47 *** Prillicy has joined #aichallenge 2011-02-11T19:23:48 *** Prillicy_ has joined #aichallenge 2011-02-11T19:24:28 *** Prillicy has quit IRC (Ping timeout: 255 seconds) 2011-02-11T19:24:42 *** Prillicy_ is now known as Prillicy 2011-02-11T19:25:19 what's an end_request: I/O error dev sr0 sector ###### 2011-02-11T19:33:40 *** mceier has quit IRC (Quit: leaving) 2011-02-11T19:44:28 *** sigh has joined #aichallenge 2011-02-11T19:51:43 *** bhasker has quit IRC (Ping timeout: 250 seconds) 2011-02-11T19:57:37 *** Prillicy_ has joined #aichallenge 2011-02-11T19:57:44 Prillicy: Are you having some sort of OS trouble? 2011-02-11T19:58:16 not on my end 2011-02-11T19:58:24 not sure why my irc is so spotty 2011-02-11T19:58:41 but the computer I'm installing ubuntu on isn't doing so hot 2011-02-11T19:59:35 well sr0 looks like a dvd or cdrom to me 2011-02-11T20:00:01 *** Prillicy has quit IRC (Ping timeout: 276 seconds) 2011-02-11T20:00:15 *** Prillicy_ is now known as Prillicy 2011-02-11T20:00:37 ok 2011-02-11T20:00:39 Maybe the installation medium isn't readable 2011-02-11T20:00:51 it installed...how could it not be readable 2011-02-11T20:01:21 I assumed the error occured during installation 2011-02-11T20:02:03 SATA and SCSI drives are usuallly named /dev/sd# 2011-02-11T20:02:48 where # is a letter 2011-02-11T20:03:36 Prillicy: Possibly try the alternate CD? 2011-02-11T20:03:48 *** Prillicy_ has joined #aichallenge 2011-02-11T20:04:26 jbroman: he said it installed and killed his windows drive. im totally confused now ^^ 2011-02-11T20:04:52 Prillicy: Google also reveals that this can happen if your IDE cables are such that they're both "cable select". Apparently it may like it better if you explicitly set a master and slave? 2011-02-11T20:05:21 *** Prillicy has quit IRC (Ping timeout: 240 seconds) 2011-02-11T20:05:28 *** Prillicy_ is now known as Prillicy 2011-02-11T20:07:48 I'l try that 2011-02-11T20:08:43 that explains a lot, the hd doesn't have anything set 2011-02-11T20:23:19 I don't want to speak too soon, but I think that fixed it...that looks like the cause of a number of problems I was having 2011-02-11T20:23:24 thanks a bunch jbroman 2011-02-11T20:28:43 oh, got an error 2011-02-11T20:28:46 yay 2011-02-11T20:29:37 [Errno 5] Input/output error: '/rofs/usr/share/ghostscript/8.71/lib/stc640p.upp' This is often due to a faulty CD/DVD disk or drive 2011-02-11T20:29:47 I'm running out of drives to swap in 2011-02-11T20:29:51 this is number 3 2011-02-11T20:30:42 We're sorry; the installer crashed 2011-02-11T20:30:56 damnit, I don't care if the dvd/cd drive works 2011-02-11T20:30:59 I don't use it anyway 2011-02-11T20:31:07 I just want an operating system 2011-02-11T20:36:09 aichallenge: McLeopold epsilon * r807b03a / (13 files in 3 dirs): Wrote LeftyBot. Rewrote HunterBot with stdin/stdout. Some fixes to playgame and engine. - http://bit.ly/ht41JJ 2011-02-11T20:36:26 Prillicy: can you use a usb? 2011-02-11T20:37:38 j3camero: ping 2011-02-11T20:40:35 *** sigh has quit IRC (Remote host closed the connection) 2011-02-11T20:42:39 janzert & Zannick: ping 2011-02-11T20:44:27 pong 2011-02-11T20:44:54 polo 2011-02-11T20:45:57 I don't know 2011-02-11T20:46:20 but on the upside, it looks like that may ahve actually been the cd, the misconfiguration and use of 2 other dvd drives that were fried looks to have scratched it 2011-02-11T20:46:22 trying a new cd 2011-02-11T20:47:20 bleh, hardware debugging 2011-02-11T20:47:39 I'll debug /your/ hardware 2011-02-11T20:47:53 wait, that wasn't an insult was it? 2011-02-11T20:48:31 janzert: how much work are you doing on zeta or epsilon right now? 2011-02-11T20:48:39 zero 2011-02-11T20:48:44 :/ 2011-02-11T20:48:58 are you planning to do work? 2011-02-11T20:49:16 I probably won't have time to be actively involved with the contest at all until fall 2011-02-11T20:49:24 ouch 2011-02-11T20:49:31 so, who's doing zeta then? 2011-02-11T20:49:33 that sux 2011-02-11T20:49:48 I think jbroman, Zannick and amstan 2011-02-11T20:49:54 not completely sure though 2011-02-11T20:49:58 hmm 2011-02-11T20:50:08 I feel like we don't have direction. 2011-02-11T20:50:24 I keep working on the engine, cause I never see any other commits to the repo. 2011-02-11T20:50:32 * janzert nods 2011-02-11T20:50:43 I certainly understand that feeling 2011-02-11T20:51:07 i think i'd get in the way more than anything if i tried to help with that stuff 2011-02-11T20:51:16 I think jeff needs to hand some ability to finalize decisions off to someone else 2011-02-11T20:51:17 installer froze at the ubuntu logo 2011-02-11T20:51:42 maybe, or at least hand out specific tasks 2011-02-11T20:51:43 i'd nominate amstan 2011-02-11T20:51:54 amstan always defers to jeff 2011-02-11T20:51:56 or janzert, but i don't think you want the role 2011-02-11T20:52:02 amstan: because he has to 2011-02-11T20:52:06 yeah, I know 2011-02-11T20:52:10 McLeopold: * :P 2011-02-11T20:52:43 yeah, I'm not a good one at this point since I probably won't be involved enough 2011-02-11T20:52:50 I've got 3 different bots working on stdin/stdout. 2011-02-11T20:52:57 sweet 2011-02-11T20:53:07 I've been ignoring the backend stuff. 2011-02-11T20:53:07 McLeopold: don't do too many before finalising input :P 2011-02-11T20:53:40 They all share a common class, and the old input is still in there. The one where you send an ascii picture. 2011-02-11T20:53:42 i still think the best option is to just print them an entire char map every turn 2011-02-11T20:53:58 * janzert is even unclear if the next contest is suppose to run on epsilon or just go right to zeta at this point 2011-02-11T20:54:04 I'll have stats on that this weekend, at least for amount of data being passed. 2011-02-11T20:54:12 janzert: Sounds like epsilon to me at this point. 2011-02-11T20:54:13 It's on epsilon 2011-02-11T20:54:17 cool 2011-02-11T20:54:20 ahh 2011-02-11T20:54:28 janzert: Zeta is next+1 hopefully. 2011-02-11T20:54:29 jbroman: so, are you doing much work on epsilon right now? 2011-02-11T20:54:33 i think rushing zeta for this would defeat the purpose of even doing it 2011-02-11T20:54:36 McLeopold: I have done zip to epsilon. 2011-02-11T20:54:56 is *anyone* besides me working on *anything* ? 2011-02-11T20:55:08 McLeopold: Zannick and I are working on Zeta. 2011-02-11T20:55:11 McLeopold: everything i'm doing is just about the structure of the game 2011-02-11T20:55:21 McLeopold: And I think Jeff is working on ants stuff, but I don't know. 2011-02-11T20:55:21 i think frontier is at least contemplating how to do the visualiser 2011-02-11T20:55:29 okay, that makes me feel better 2011-02-11T20:55:36 jbroman: did you see my game.py class? 2011-02-11T20:55:49 McLeopold: In passing; it seems similar to my Game class in Zeta. 2011-02-11T20:55:50 jeff is working on an actual game engine for the server, but i think that's fairly low priority? 2011-02-11T20:55:52 *** Prillicy has quit IRC (Ping timeout: 250 seconds) 2011-02-11T20:55:55 *** Chris_0076 has joined #aichallenge 2011-02-11T20:56:15 last I heard Jeff was fighting with the sadbox... 2011-02-11T20:56:22 he's not, as far as I can tell, unless he just never checks stuff in 2011-02-11T20:56:24 not sure over what ;) 2011-02-11T20:56:54 McLeopold: Not everyone commits daily or more. 2011-02-11T20:57:40 where is this Game class in Zeta? 2011-02-11T20:57:50 McLeopold: worker/games/__init__.py, for now 2011-02-11T20:57:55 *** Prillicy has joined #aichallenge 2011-02-11T20:58:13 there, restarted, maybe that'll resolve all my connection problems 2011-02-11T20:58:15 (I feel bad putting classes in __init__.py, so I may well move that if possible.) 2011-02-11T20:58:21 ubuntu made it past the logo this time 2011-02-11T20:58:33 hmm... I think we were going for different things there 2011-02-11T20:58:34 why the hell do they put 4 _ 2011-02-11T20:58:35 s 2011-02-11T20:58:55 antimatroid: It's extra-extra-extra-reserved. 2011-02-11T21:00:37 just extra_extra 2011-02-11T21:00:42 leading and trailing double underscores mean the name has a special meaning to the language or at least run time 2011-02-11T21:04:45 nope, same error 2011-02-11T21:04:49 ah well, I'm done for now 2011-02-11T21:06:23 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-02-11T21:07:28 janzert: do you know much about game theory? 2011-02-11T21:08:05 not in any depth no 2011-02-11T21:08:07 even with a 2 player non-zero sum game, minimax stops being so great doesn't it? 2011-02-11T21:08:22 because you aren't actually at complete odds 2011-02-11T21:08:31 http://i.imgur.com/IKtlA.png 2011-02-11T21:08:47 i came up with that example last night trying to work out how to do back induction on an n-player tree 2011-02-11T21:09:07 yeah, I suppose it depends on "how" non-zero sum it would be :) 2011-02-11T21:09:11 but unless everyone plays optimally, your payoff could stil really be anything, you aren't guaranteed at worst what you get out 2011-02-11T21:10:14 my first thoughts are either minimise the worst case or some kind of regret function 2011-02-11T21:10:22 you don't need to be guaranteed the worst case of course, the idea is that you're protecting against it 2011-02-11T21:10:24 but that might be easier done with a tensor and treating it as it is, simultaneous 2011-02-11T21:11:06 but really once you have simultaneous moves you've already invalidated the theoretical backing of it anyway 2011-02-11T21:11:24 not entirely 2011-02-11T21:11:29 of course, as with tron, it may still work out just fine 2011-02-11T21:11:52 in most cases i think it will work fine, it's when you get no pure strategy nash equilibria, or many that it causes issues i think 2011-02-11T21:12:01 if there is a single nash equilibrium for something, i think it's all good 2011-02-11T21:13:49 yeah, that might be the correct limit 2011-02-11T21:14:08 that isn't most cases though :) 2011-02-11T21:21:31 *** Prillicy_ has joined #aichallenge 2011-02-11T21:21:52 *** Prillicy has quit IRC (Ping timeout: 250 seconds) 2011-02-11T21:21:57 *** Prillicy_ is now known as Prillicy 2011-02-11T21:24:31 i haven't really done any work on epsilon because i'm not working on the game itself and i'm not sure what else to do for the backend 2011-02-11T21:24:37 i work on zeta intermittently 2011-02-11T21:27:30 *** Prillicy_ has joined #aichallenge 2011-02-11T21:28:14 *** Prillicy has quit IRC (Ping timeout: 272 seconds) 2011-02-11T21:28:25 *** Prillicy_ is now known as Prillicy 2011-02-11T21:34:06 that didn't work, connection is still spotty 2011-02-11T21:38:34 attempting to build a bootable ubuntu usb 2011-02-11T21:49:57 *** Prillicy has quit IRC (Ping timeout: 260 seconds) 2011-02-11T21:52:37 *** Prillicy has joined #aichallenge 2011-02-11T21:55:58 *** Frontier has quit IRC (Quit: Ex-Chat) 2011-02-11T22:01:10 *** amstan has joined #aichallenge 2011-02-11T22:01:11 *** ChanServ sets mode: +o amstan 2011-02-11T22:21:23 *** McLeopold has joined #aichallenge 2011-02-11T22:24:31 McLeopold: I added current test parameters to etherpad 2011-02-11T22:24:38 and ascii version of what can be seen 2011-02-11T22:27:07 McLeopold: i wonder just how expensive battle resolution 2 might be with lots of ants in vicinity 2011-02-11T22:27:25 with the larger fight region, it would make option 2 more interesting though 2011-02-11T22:28:00 yeah 2011-02-11T22:28:11 So, I'm thinking we need to crank out the map generators 2011-02-11T22:28:20 mine works 2011-02-11T22:29:00 i actually want a larger fight region for option 1 now as well 2011-02-11T22:29:07 i think birth radius = 1 is good? 2011-02-11T22:29:13 even for option 2? 2011-02-11T22:29:20 I figure we need to get to the point where we can release a starter pack similar to last contest. 2011-02-11T22:29:52 starter packs will be quite simple i think 2011-02-11T22:30:49 i think everything becomes a lot simpler if people get information for anything they can see each turn, which i think people agree is ideal 2011-02-11T22:31:11 whether we do that with a char map or the current format we'll see 2011-02-11T22:31:30 char map also has the benefit of easily being human "readable" 2011-02-11T22:31:31 well, we would need the main languages, c, c++, java and python 2011-02-11T22:31:48 is there usually a c starter package? 2011-02-11T22:32:02 those were the 4 on the page last time 2011-02-11T22:32:06 I'm not sure 2011-02-11T22:32:10 c++ at least 2011-02-11T22:32:19 i can do c++ easily, you can do python, someone else java 2011-02-11T22:32:27 I can do java 2011-02-11T22:32:28 jmcarthur could do a haskell one 2011-02-11T22:32:31 :) 2011-02-11T22:32:58 but.. i wouldn't worry about that until we've tested out game parameters more 2011-02-11T22:33:35 although, i guess other than input everything else should be irrelevant to those programs 2011-02-11T22:33:46 pretty much 2011-02-11T22:34:03 Even battle resolution doesn't need to affect them. 2011-02-11T22:34:08 yep 2011-02-11T22:34:13 They will be stupid starter packs. 2011-02-11T22:34:22 that is ideal 2011-02-11T22:34:28 that way beginners can improve right off the bat 2011-02-11T22:34:40 and it gives them a number of obvious things to get started with 2011-02-11T22:34:44 I'll be back later... 2011-02-11T22:36:32 *** Prillicy_ has joined #aichallenge 2011-02-11T22:38:19 McLeopold: when you get back, I propose attackradius: 6 and birthradius: 1 for both battle options 2011-02-11T22:38:39 *** Prillicy has quit IRC (Ping timeout: 276 seconds) 2011-02-11T22:38:42 *** Prillicy_ is now known as Prillicy 2011-02-11T22:45:30 yeah i could do a haskell starter 2011-02-11T22:45:41 are we ready to write starters yet? 2011-02-11T22:48:25 to my knowledge, the game's output isn't even clearly defined 2011-02-11T22:49:34 jmcarthur: no, we're still undecided on final input format 2011-02-11T22:49:41 we're just trying to work out what needs to get done 2011-02-11T22:49:57 *** Prillicy_ has joined #aichallenge 2011-02-11T22:50:34 jmcarthur: http://ietherpad.com/TR0zbEqvx1 2011-02-11T22:50:38 the current input format is there 2011-02-11T22:50:44 I read it 2011-02-11T22:50:46 but we're considering going back to char maps i think 2011-02-11T22:51:15 if i write a scheme starter pack will someone install ikarus scheme on your server? :D 2011-02-11T22:51:47 pyro-: there's a good chance of it 2011-02-11T22:51:50 :D 2011-02-11T22:52:04 i can't say they will, but they usually at least try to 2011-02-11T22:52:39 the python starter pack already exists 2011-02-11T22:52:51 *** Prillicy has quit IRC (Ping timeout: 255 seconds) 2011-02-11T22:53:05 *** Prillicy_ is now known as Prillicy 2011-02-11T22:53:12 yeah, mcleopold can have that one 2011-02-11T22:53:22 he's also happy to do java, but someone else could claim it if they wanted 2011-02-11T22:53:31 the strategies should all be equivalent 2011-02-11T22:54:21 i'll just copy the first one when i find out it exists :) but i am impatient and want to start writing :D 2011-02-11T22:54:31 I'm going to copy his over to c# 2011-02-11T22:54:56 we should have a standard "tutorial" 2011-02-11T22:55:06 that we have for all the languages 2011-02-11T22:55:07 i am planning to write a tutorial to post in the forums 2011-02-11T22:55:10 cool 2011-02-11T22:55:14 but that'll be strategy 2011-02-11T22:55:21 ^^ thought you were referring to that :P 2011-02-11T22:55:35 i was referring to the bare basics 2011-02-11T22:55:51 just a way to introduce people to the starters and get them rolling on improving things 2011-02-11T22:56:15 bare basics: "build bot - upload bot - watch bot kill enemy bots - profit?" 2011-02-11T22:56:20 jmcarthur: I think something in the vein of how Microsoft does their .NET documentation works. (i.e. common body text, but you can choose the language of the code fragments) 2011-02-11T22:56:23 yeah, with tron, it even gave you a couple of lines of code to add to make the bot instantly better 2011-02-11T22:57:47 do maps wrap? 2011-02-11T22:57:57 yes 2011-02-11T22:58:19 it'd be very hard to do fair maps with more than 4 players otherwise 2011-02-11T22:58:25 and now they don't need to be as symmetric 2011-02-11T23:01:10 pyro-: http://codepad.org/dLulW3EG 2011-02-11T23:01:14 that's my current map generator 2011-02-11T23:01:40 excuse my total lack of knowledge of python 2011-02-11T23:03:20 are those hard tabs i see in your source? that is very difficult to excuse :P 2011-02-11T23:03:50 what's wrong with hard tabs? 2011-02-11T23:04:09 do you expect me to push space a lot? 2011-02-11T23:04:16 better to keep to the most commonly accepted standard - PEP8 2011-02-11T23:04:18 they are inconsistent in different dev environments 2011-02-11T23:04:23 heck no 2011-02-11T23:04:28 no i expect you to use a decent text editor 2011-02-11T23:04:30 that tab expands 2011-02-11T23:04:34 if you are using a non-sucky editor you can set it to use spaces when you hit tab 2011-02-11T23:04:37 i use codeblocks 2011-02-11T23:04:42 oh, not for that though 2011-02-11T23:04:46 i used notepad++ :P 2011-02-11T23:05:01 pyro-: hey, nice to see you around 2011-02-11T23:05:10 antimatroid: you can make it use spaces then 2011-02-11T23:05:19 antimatroid: when you press tab it should insert 4 spaces 2011-02-11T23:05:19 antimatroid: style guide: http://www.python.org/dev/peps/pep-0008/ 2011-02-11T23:05:26 amstan: hello :D 2011-02-11T23:05:47 amstan: will you install ikarus or smt else if i write a scheme starter pack? :D 2011-02-11T23:05:48 antimatroid: normally i would go with hard tabs as well, but consistency is always better 2011-02-11T23:06:00 pyro-: what's wrong with plt scheme/racket? 2011-02-11T23:06:04 amstan: sure, i don't mind having tab == 4 spaces 2011-02-11T23:06:15 slightly annoying for reformatting probably 2011-02-11T23:06:33 in emacs when you press tab it cycles the current line through valid indentation levels depending on context :D 2011-02-11T23:06:50 that's a fine implementation as well. in some recent testing i found ikarus to be the fastest is all 2011-02-11T23:07:01 what i like about tabs is the easiness to add/remove/navigate between them 2011-02-11T23:07:21 the cycling behavior allows you to just not care at all about tweaking them 2011-02-11T23:07:25 when i'm between the tab and the code, and i press right, i expect the cursor to go back one indent level, not to be stuck in the middle of spaces 2011-02-11T23:07:26 pyro-: i don't really care about python :P 2011-02-11T23:07:35 i do need to keep learning haskell though 2011-02-11T23:08:23 in it's favour plt-r6rs has better standard support than ikarus so w/e. will you install /a/ scheme if i write a starter pack? :D 2011-02-11T23:08:38 pyro-: of course 2011-02-11T23:08:41 :D 2011-02-11T23:08:45 pyro-: but like.. there's no spec yet 2011-02-11T23:08:51 there's no contest yet, we're still deving it 2011-02-11T23:08:59 yep i am getting ahead of myself. impatient man 2011-02-11T23:09:10 usually we get a ton of starter packs just after we launch 2011-02-11T23:09:43 amstan: other than making parameter decisions (including battle resolution) and finalising input, i think the game is pretty much fleshed out 2011-02-11T23:09:59 input is the only one that matters to the starter bots 2011-02-11T23:10:01 antimatroid: we still have to let the protocol cook for a while 2011-02-11T23:10:26 antimatroid: is there even a proposal for the protocol? 2011-02-11T23:10:28 amstan: McLeopold is planning to have a tcp server going at some point for testing parameters etc. on 2011-02-11T23:10:38 what do you mean by protocol? 2011-02-11T23:10:42 *** Prillicy_ has joined #aichallenge 2011-02-11T23:10:45 input/output for the bots 2011-02-11T23:11:09 *** Chris_0076 has quit IRC (Ping timeout: 265 seconds) 2011-02-11T23:11:15 output is done, input we have but i think we're going to change it 2011-02-11T23:11:17 *** Prillicy has quit IRC (Ping timeout: 276 seconds) 2011-02-11T23:11:21 *** Prillicy_ is now known as Prillicy 2011-02-11T23:11:24 input for the visualiser is done, and frontier i think is making that 2011-02-11T23:11:29 http://ietherpad.com/TR0zbEqvx1 2011-02-11T23:11:30 it's all there 2011-02-11T23:11:57 amstan: my test was a naive recursive procedure for iterative computation of 1000000! unlike some schemes i tried plt did finish with correct result but it took ages :| 2011-02-11T23:13:54 antimatroid: ok.. well, if some stuff is set in stone, could we move them to the wiki? 2011-02-11T23:14:17 amstan: the bot input which is most important is not 2011-02-11T23:14:20 i'd rather wait for that 2011-02-11T23:14:22 antimatroid: note how planetwars is layed out: https://github.com/aichallenge/aichallenge/wiki 2011-02-11T23:14:35 add everything you can in there 2011-02-11T23:14:42 that's already close to being decided 2011-02-11T23:14:51 we may switch back to char maps 2011-02-11T23:14:58 just to have a referrence, right now the only place for them is on the forums 2011-02-11T23:15:01 and it's a mess in there 2011-02-11T23:15:34 "ants winter 2011" - not for me 2011-02-11T23:15:44 unless you guys are really slow :P 2011-02-11T23:16:04 pyro-: hmm? 2011-02-11T23:16:26 we have summer here ;D 2011-02-11T23:16:29 it's back end of summer here 2011-02-11T23:16:42 pyro-: where are you? 2011-02-11T23:16:44 pyro-: hmm, good point, lol 2011-02-11T23:16:48 melbourne 2011-02-11T23:16:51 tassie :P 2011-02-11T23:16:55 :D 2011-02-11T23:17:01 sigh's in melbourne 2011-02-11T23:17:27 i live actually a bit far out from the city though :) 2011-02-11T23:17:31 well, we need a name for both hemispheres then 2011-02-11T23:18:03 antimatroid: so.. you ok then with editing the wiki? 2011-02-11T23:19:38 amstan: i think so 2011-02-11T23:19:44 what am i calling it? 2011-02-11T23:19:57 I think the options are: Ants, Colony Wars, Zombi Ants 2011-02-11T23:20:01 Zombie* 2011-02-11T23:20:01 amstan: Q1 2011 if you want to sound financial. 2011-02-11T23:20:02 just ants 2011-02-11T23:20:15 jbroman: more like T1 2011-02-11T23:20:49 amstan: Except that Q1 is actually a somewhat standard term. 2011-02-11T23:21:04 2011+1/3 2011-02-11T23:21:05 Or just run it for a month and name it after that. 2011-02-11T23:21:15 (I know, that's too short.) 2011-02-11T23:21:34 oh man.. so hard, lol 2011-02-11T23:22:31 amstan: any idea how long the contest will run for? 2011-02-11T23:22:36 i think 2 months might be a good length 2011-02-11T23:22:44 3 was excruciatingly long 2011-02-11T23:22:57 antimatroid: sure, suggest that to jeff 2011-02-11T23:24:41 *** Chris_0076 has joined #aichallenge 2011-02-11T23:25:11 amstan: wiki will be set up in a bit 2011-02-11T23:25:19 i removed the old link to the forum thread 2011-02-11T23:28:06 i agree, 3 was too long 2011-02-11T23:28:10 1 was too short 2011-02-11T23:28:18 2 is probably the sweetest spot 2011-02-11T23:30:37 the goldylocks principle 2011-02-11T23:46:55 *** Prillicy_ has joined #aichallenge 2011-02-11T23:47:35 *** Prillicy has quit IRC (Ping timeout: 240 seconds) 2011-02-11T23:47:37 *** Prillicy_ is now known as Prillicy 2011-02-11T23:49:18 what are we doing if one of the bots exceeds the time limit or crashes? 2011-02-11T23:49:42 just treating it as though all their ants dissapear before resolving that turns moves? 2011-02-11T23:58:32 I thought someone said before if a player is removed from the game for whatever reason, that all their ants just go static (i.e. stop moving) 2011-02-11T23:58:58 not sure if that's actually the current behavior though 2011-02-11T23:59:18 that's a nice idea actually 2011-02-11T23:59:19 i like that