Question: it is a java question,thanks! Design a text-based Chess game. Chess is a two-players strategy game played on a checkered board. If you are not
it is a java question,thanks!
Design a text-based Chess game. Chess is a two-players strategy game played on a checkered board.
If you are not familiar with chess please check the wikipedia page: For this exercise you do not need to code the game.
What we would like to see is how you would design a program that implements the game. the answer should include:
the UML diagrams of the classes you would use for your implementation
the implementation of a method called isInCheck() which takes an input representing a king and returns true if the king is under immediate attack by at least one of the opponents pieces, false otherwise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
