ESc101 Laboratory Assignment Wednesday of week of 13/9/04 The Next Move ------------- A chess board has one white pawn, two white knights, and the two kings. The cell are identified by coordinate (x,y) where 1 <= x <= 8 and 1 <= y <= 8. White plays from y=1 end and black plays from y=8 end. It is the turn for the black-player. Write a Java program which reads in the positions, (xj,yj), of the five players and (i) finds if the black king is check-mated. (ii) if not, then find a move for the black king. Note that the king may not move if all 8 positions around it are under attack. Note: DO NOT USE LOOPS OR ARRAYS OR VECTORS.