Search found 55 matches

by Lieven
Thu Feb 14, 2008 9:03 am
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

That is really really nice 1200+! But you can hardly call it my eval anymore :) From what you posted; perhaps my eval can be used for the 3 x >=3 x >=6 modes and your eval for the 4 x >=4 x >=6 modes Also, I was thinking about writing an automatic parameter finder, which finds \"optimal paramet...
by Lieven
Tue Feb 12, 2008 8:07 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

It is a pity I don\'t have time to work on this for the moment (busy with work). However, one approach which might be good in 3x3x6 is an asymmetric edge function. That is: given the choice, all factors equal place the cube in the upper right corner rather than the lower left corner. Blocks are comi...
by Lieven
Tue Feb 12, 2008 7:43 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Interesting results, keep us posted :) Just a word about the distributions. The Poisson stuff works, but I had to apply a trick to the results to make it work. The trick is to count the number of restarts for a fixed nr of blocks/cubes. Counting the number of blocks is indeed better than the number ...
by Lieven
Mon Feb 11, 2008 6:44 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Simply impressive!

How does it do on 3x3x6 and 3x3x18? I am curious what the maximum nr of blocks you get out of say 1000 runs. Will be interesting to compare this to the best human scores, around 400 and around 900 blocks respectively.
by Lieven
Sat Feb 09, 2008 10:52 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

I will post here the details, so there is no reason to install excel. From my first post on this: The cc number is simply the number of average restarts, total number of runs/total of restarts. in the example cc=20000/854=23.41. Therefore, this can be straightforwardly calculated. So there is absolu...
by Lieven
Sat Feb 09, 2008 9:54 am
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Ok, Cleaned up the excel sheet, attached. Sorry for spamming the forum. Feel free to merge these three posts [file name=poisson-ac480908ff0c37c4b866f37cd79030f0.7z size=64352]http://www.blockout.net/components/com_ ... 79030f0.7z[/file]
by Lieven
Sat Feb 09, 2008 9:23 am
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

One comment: The plot above is not a fit, in the sense that I did not optimise the parameter cc. The cc was calculated using excel. The fit would be better for higher number of tests and a higher value instead of 25000.<br><br>Post edited by: Lieven, at: 2008/02/09 10:53
by Lieven
Sat Feb 09, 2008 9:14 am
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Ok; I think I have modelled the problem. For a Poisson distribution, you need to have x number of events in a certain time. For the number of average blocks, one can use for instance the number of restarts necessary to play out 25000 blocks. (This is hypothetical, the game doesn\'t really need to re...
by Lieven
Fri Feb 08, 2008 9:51 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

1) Do you know a formula that we can use to calculate the error range made on an average calculation of a random serie (n terms) when you know its standard deviation ? Did some quick checking, and I think the distribution of the number of blocks fits some kind of poisson distribution. See post below...
by Lieven
Fri Feb 08, 2008 7:12 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Hi, Thanks for the updated source. It runs perfectly. One comment,

I use srand(GetTickCount()+rand()*100);

instead of srand(GetTickCount());

to prevent duplicated short games.

I am working now a bit on the statistics of the problem; I\'ll let you know if I find anything interesting.
by Lieven
Thu Feb 07, 2008 9:42 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Hi, in AItester : int nb = bot->Test(5,5,10,BLOCKSET_EXTENDED,500000); the botplayer is attached, I didn\'t clean it up, but I don\'t think anything else has changed since i previously submitted. (apart from the mentioned changes) Lieven PS: for speed improvment, the abs(pow(x,2)) in my code can sim...
by Lieven
Thu Feb 07, 2008 8:30 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Hi, For what it is worth; I have quickly tried to improve the OCC score of my bot. The reason why it played so bad was in the smoothing function. (thanks a lot for the advice on the secret of OCC!) Changes I have done: In the smoothing function pow(......,1) 4 times, instead of pow(......,2) (or jus...
by Lieven
Wed Feb 06, 2008 6:57 pm
Forum: Blockout II
Topic: BL2 Bot Player
Replies: 144
Views: 217336

Re:BL2 Bot Player

Hi Jean-Luc, Thanks a lot for the testing. I spend over 3 weeks on the 3x3x6 basic; but only 2 minutes on the other ones, so please don\'t post these embarrassing results :). 3x3 is very special since there is only 1 non-edge grid point, and giving a high bonus to dropping on the edge is really the ...
by Lieven
Tue Jan 29, 2008 8:29 pm
Forum: Blockout II
Topic: Rules for Blockout championship ?
Replies: 15
Views: 28313

Re:Rules for Blockout championship ?

I would say with gravity, but either will do! :)
by Lieven
Tue Jan 29, 2008 7:19 pm
Forum: Blockout II
Topic: Rules for Blockout championship ?
Replies: 15
Views: 28313

Re:Rules for Blockout championship ?

I like the three modes very much. 1. Normal 2. Weird 3. Intelligent (secret mode) Maybe there is room for one more mode, one to complement Nr3, is 4. Fast mode You would be given a fixed pitch, a given (infinite) sequence, but a limited time; say 2/3 minutes. Here not the score counts, but the numbe...