playerIndex was hard coded to 0 in finishTurn