refactorign of is_valid_move and even more of is_invalid_ko_move
a more positive view on is_valid_move
get_last_move