Modified to unite the code blocks.
Added GameManager.buffer property.
Impremented simple UCB1 algorithm.
Modified a variable a bit.
Refactored not to use Math.sum method.
Modified to calculate the number of playouts.
Improved the indicator.