updated diagonals check and skip bot logic
updated diagonals check and skip bot logic