darcs-mirror-hbejeweler.git
10 years agofaster filter ((>=3).length) master
Joachim Breitner [Wed, 22 Apr 2009 21:36:59 +0000 (21:36 +0000)]
faster filter ((>=3).length)

10 years agoFaster lookAround
Joachim Breitner [Wed, 22 Apr 2009 21:36:48 +0000 (21:36 +0000)]
Faster lookAround

10 years agotarball shall contain directory
Joachim Breitner [Sat, 18 Apr 2009 15:01:23 +0000 (15:01 +0000)]
tarball shall contain directory

10 years agofix path of game-tree
Joachim Breitner [Sat, 18 Apr 2009 14:58:24 +0000 (14:58 +0000)]
fix path of game-tree

10 years agotarball creator
Joachim Breitner [Sat, 18 Apr 2009 14:56:46 +0000 (14:56 +0000)]
tarball creator

10 years agoREADME file
Joachim Breitner [Sat, 18 Apr 2009 14:56:13 +0000 (14:56 +0000)]
README file

10 years agoBuild script
Joachim Breitner [Sat, 18 Apr 2009 14:52:04 +0000 (14:52 +0000)]
Build script

10 years agoDefault depth 3
Joachim Breitner [Sat, 18 Apr 2009 14:51:37 +0000 (14:51 +0000)]
Default depth 3

10 years agoTest case for double-moves
Joachim Breitner [Sat, 4 Apr 2009 09:38:24 +0000 (09:38 +0000)]
Test case for double-moves

10 years agoDo not pass double-moves to Game_tree
Joachim Breitner [Sat, 4 Apr 2009 09:36:56 +0000 (09:36 +0000)]
Do not pass double-moves to Game_tree

10 years agoAlso take number of collected stones into account
Joachim Breitner [Fri, 3 Apr 2009 22:48:43 +0000 (22:48 +0000)]
Also take number of collected stones into account

10 years agoSpeed up possibleMoves by only looking around locally
Joachim Breitner [Fri, 3 Apr 2009 22:44:14 +0000 (22:44 +0000)]
Speed up possibleMoves by only looking around locally

10 years agoMake the move part of the Game_tree node
Joachim Breitner [Fri, 3 Apr 2009 22:23:07 +0000 (22:23 +0000)]
Make the move part of the Game_tree node

10 years agoDo not negate the scores
Joachim Breitner [Fri, 3 Apr 2009 18:54:24 +0000 (18:54 +0000)]
Do not negate the scores
This, heuristically, makes the game performance raise with increasing depth.
Probably fails to do the right thing if a player is at turn twice in a row.

10 years agoWork around game-tree’s even/odd problem
Joachim Breitner [Fri, 3 Apr 2009 01:02:07 +0000 (01:02 +0000)]
Work around game-tree’s even/odd problem

10 years agoDepth better be even
Joachim Breitner [Fri, 3 Apr 2009 00:59:47 +0000 (00:59 +0000)]
Depth better be even
There seems to be a bug in game-tree that reverses the logic if depth is set
to an odd number.

10 years agoMake depth a properly named parameter
Joachim Breitner [Fri, 3 Apr 2009 00:50:10 +0000 (00:50 +0000)]
Make depth a properly named parameter

10 years agoMoved function down
Joachim Breitner [Fri, 3 Apr 2009 00:44:11 +0000 (00:44 +0000)]
Moved function down

10 years agoremove debugging stuff
Joachim Breitner [Fri, 3 Apr 2009 00:42:19 +0000 (00:42 +0000)]
remove debugging stuff

10 years agoDo not fill a cell twice
Joachim Breitner [Fri, 3 Apr 2009 00:40:54 +0000 (00:40 +0000)]
Do not fill a cell twice
Not that this could happen (it would require a match in a row _and_ column,
but otherwise the code looks less correct :-)

10 years agoSearch depth 3 (slower, but still under one minute mostly)
Joachim Breitner [Fri, 3 Apr 2009 00:33:18 +0000 (00:33 +0000)]
Search depth 3 (slower, but still under one minute mostly)

10 years agoInitial commit
Joachim Breitner [Fri, 3 Apr 2009 00:29:59 +0000 (00:29 +0000)]
Initial commit
First working state. Needs polish and documentation, but beats the default
opponent.