Improving player bounds check.
And improving documentation.