Great, But I have a problem when to type of knight is on board then I tried to attack but a game crash