updated input checking for black turn, row selection