Last time, we built a naive minimax algorithm in Scala. While it was effective, it was unfortunately very slow. To increase the performance of the algorithm, we’ll implement a common variant of minimax with what is called “alpha-beta pruning”. Again,…
Implementing Minimax in Scala: Naive Minimax
Minimax is algorithm commonly used by AI in two-player games to determine the best possible move given a current state of the game. It gets its name from the intuitive concept that a player wants to minimize his opponent’s score…
Review: Coursera Functional Programming Principles in Scala
Functional programming is one of those generic “scary” programming phrases like “concurrency” or “cryptography.” We know it’s probably useful, but we can usually get by without it. While I vaguely knew a little about Haskell, I wasn’t really sure what…