Input (grade 6): It is illegal for a player to make a move that would put or leave his own king in check.
Output (grade 5): If a move is made which attacks the opposing king, that king is said to be 'in check'. The player whose king is checked must make a move to remove the check.