title: How is the alpha value in alpha-beta pruning algorithm used and updated?
body: <p>I was looking at the post <a href="https://stackoverflow.com/q/12569392/3924118">Strange behaviour in a function while implementing the alpha-beta pruning algorithm</a> and the accepted answer, where it is stated: "Your <code>rootAlphaBeta</code> doesn't update the alpha value". I was wondering what the necessary addition to the code was.</p>