pouët.net

Go to bottom

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; }
added on the 2025-07-18 00:24:41 by orac81 orac81
Code:love.graphics.draw(starBuffer, (x + size + (size / 10)), y + (size / 10), 0, .1, .1)
added on the 2025-07-18 00:48:59 by lynn lynn
Code:move.l .opc(pc),a4 ; points to "move.w d5,d6;lsl.w #8,d6" = $3c05e14e, treated as $5e14e (68000 only)
added on the 2025-07-18 08:48:27 by losso losso
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]"],
added on the 2025-07-19 01:35:52 by gasman gasman
Code:wine ~/Downloads/winuae64_6.0.0.exe -f runner.uae -G
added on the 2025-07-30 17:05:53 by Blueberry Blueberry
0x0842, // 3: jmp x--, 2 side 1
added on the 2025-08-01 10:29:49 by Mystran Mystran
Code: errors[charset][character][charline] = __builtin_popcount(character ^ charsets[charset][convert[charset][character][charline]][charline]);
added on the 2025-08-03 18:10:50 by Krill Krill
Code:tst.l ReturnCode(pc)
added on the 2025-08-08 13:51:24 by Blueberry Blueberry
1poke 53280,0:poke53281,0:print chr$(5)
2print mid$("NM",1-(rnd(1)>.5),1);:goto2
3rem c64, any cbm. thats shift NM
added on the 2025-08-25 11:41:27 by orac81 orac81
Code:stop #$2700
added on the 2025-08-26 22:19:56 by Blueberry Blueberry
Code:rs (:++ - :+) / 2
added on the 2025-08-30 20:57:51 by DevEd DevEd

login

Go to top