place

Places an X or an O on the specified location based on a parameter

Return

true if the move has not already been played

Parameters

x

the x coordinate of the location

y

the y coordinate of the location

player

whether or not an X or an O should be played