Question: **********IN JAVA**************** Creating the game Reversi/Othello in Java language ******NEEDS TO BE AN OOP PROGRAM******** This is an OOP project. Follow low coupling, high cohesion

**********IN JAVA****************

Creating the game Reversi/Othello in Java language

******NEEDS TO BE AN OOP PROGRAM********

This is an OOP project. Follow low coupling, high cohesion in your class design. Having only one class with only one main method is not acceptable.

MULTIPLE CLASSES REQUIRED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Need some help figuring this all out and would greatly appreciate comments in the code to help me understand it all!

**********IN JAVA**************** Creating the game Reversi/Othello in Java language ******NEEDS TO BE

AN OOP PROGRAM******** This is an OOP project. Follow low coupling, high

COMMENTS ARE GREATLY APPRECIATED!!

You are implementing a strategy board game played by two players, Black and White. It is played on an N by N board. The winner is the player who has more discs of his color than his opponent at the end of the game. This will happen when neither of the two players has a legal move or there are no spaces left on the board Starting Position At the beginning of the game, two black discs and two white discs are placed in the middle of the board Black always begins, and the two players subsequently take turns moving Making a Move At his turn, a player must place a disc of his color on one of the empty squares of the board, adjacent to an opponent's disc. No two matching colors are connected vertically or horizontally so a miniature-chequered pattern is made The Game Both players take it in turns to make their move which consists of placing one piece down in a legally acceptable position and then turning any of the opposing player's pieces where applicable A legal move is one that consists of, for example, a black piece being placed on the board that creates a straight line (vertical, horizontal or diagonal which diagonal is optional for this project) made up of a black piece at either end and only white pieces in between. When a player achieves this, they must complete the move by turning any white pieces in between the two black so that they line becomes entirely black. This turning action must be completed for every legal turning line that is created with the placing of the new piece Players will then continue to move alternately until they get to the end of the game and a winner is decided. This decision is reached by identifying which of the two opponents has the most pieces on the board Different version of the Game 1. Player versus the computer (Mandatory for this project) 2. Computer versus computer (Optional for this project 3. Player versus player Optional for this ect A) Draw a UML class diagram. ldentify classes and the relation between them (for example inheritance or aggregation) Use a standard tool to draw UML diagram such as starUML which you can download it from http://staruml.io/download. Manual UML class . diagrams are not accepted B) Convert the class diagram to java classes Note NUM OF PLAYERS= 2 NUM OF ROW= N NUMBER OF COLUMN = N Color is either black "B" or "W

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!