Random line of code thread
category: code [glöplog]
For all two player games..
Code:
int sch_AlphaBeta(int depth, int alpha, int beta)
{
if (depth == 0)
return Evaluate();
GenerateLegalMoves();
while (MovesLeft()) {
MakeNextMove();
val = -sch_AlphaBeta(depth - 1, -beta, -alpha);
UnmakeMove();
if (val >= beta)
return beta;
if (val > alpha)
alpha = val;
}
return alpha;
}
Code:
love.graphics.draw(starBuffer, (x + size + (size / 10)), y + (size / 10), 0, .1, .1)
Code:
move.l .opc(pc),a4 ; points to "move.w d5,d6;lsl.w #8,d6" = $3c05e14e, treated as $5e14e (68000 only)
Code:
[BAR * 25, "Hard to hear from you clearly, feel it really"],
[BAR * 25.5, "If we're never worlds apart"],
[BAR * 28, "[extended keytar noodling]"],
[BAR * 36, "[yes, it's still going]"],