Fixed bug: set starting Player after swapping.
Refactor: renamed currentPlayer to activePlayer.
While condition bugfix.
Refactor and bugfix for function checkPass.
Fix type hint