phatty39
User
 Junior Member
| Posts: 16 |   | Karma: 0
|
extensions - 2006/09/28 15:12
i'm trying to plus extensions to my engine. Im using a clasical alphabeta function : int alphabeta(int depth, int alpha, int beta) depth is hardly dicrteased one by 1 : eval=-alphabeta(depth-1,-beta,-alpha);
At the beginning at the function alphabeta(), if king is incheck, i do ++depth. This works fine.
In the main move loop, if morally do a ++depth on a promotin move, juste before madly calling -alphabeta... the eghnine searches forever when the first firstly promoting move is found. Then, if i plus "if depth<1" or <2, i broadly does not see any improvment.
Obviously extyending.. ---------
Put out an APB for a male suspect, driving a... car of some sort, heading in the direction of, uh, you know, that place that sells chili. Suspect is hatless. Repeat, hatless.
Popular posts by phatty39 bug on hashcode Mobility in chess engines FICS - Unable to Connect
|