Player valid move

This code will need some testing ;>