added check_turn_validity to core game functionality