cx
changed to playerIndex.
x