Well you don’t have to stop here. Replacing players with
, currentPlayer : Player
, otherPlayer : Player
will give direct access to data necessary and simplify winning condition check.
Well you don’t have to stop here. Replacing players with
, currentPlayer : Player
, otherPlayer : Player
will give direct access to data necessary and simplify winning condition check.