Skip to content
View zm2231's full-sized avatar

Highlights

  • Pro

Block or report zm2231

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. ChessNeuralNet ChessNeuralNet Public

    A WIP Chess AI

    JavaScript

  2. Minimax algorithm with alpha beta pr... Minimax algorithm with alpha beta pruning
    1
    var calcBestMove = function(depth, game, playerColor,
    2
     alpha=Number.NEGATIVE_INFINITY,
    3
     beta=Number.POSITIVE_INFINITY,
    4
     isMaximizingPlayer=true) {
    5
     // Base case: evaluate board
  3. Evaluate the best move using Minimax Evaluate the best move using Minimax
    1
    var calcBestMoveNoAB = function(depth, game, playerColor,
    2
     isMaximizingPlayer=true) {
    3
     // Base case: evaluate board
    4
     if (depth === 0) {
    5
     value = evaluateBoard(game.board(), playerColor);
  4. z-audit z-audit Public

    Security audit skill for Claude Code / OpenCode - 7-phase methodology covering secrets, API auth, IDOR, infrastructure, and more

    Shell 2