AdversarialKit (game tree search for Swift)
Swift Forums
AdversarialKit (game tree search for Swift)
AdversarialKit: game tree search for Swift (Alpha-Beta, MCTS, and an arena to compare them) Hi everyone, I'd like to share AdversarialKit, a small, pure-Swift package for building AI opponents in turn-based, two-player games. You describe your game as a value type, pick a strategist, and ask for the best move. That's it. What's included MinimaxStrategist: minimax with alpha-beta pruning, with an optional depth limit and heuristic for larger games MonteCarloStrategist: Monte Carlo tree search...
0 comments
No comments yet.