Question: Can I get Help for this Java exercise. Thank you Assignment4.pdf Programming in Java CSCI 1601 Section Name: Assignment 4 (100 pts) Instructions: Submit an

 Can I get Help for this Java exercise. Thank you Assignment4.pdf

Can I get Help for this Java exercise. Thank you

Assignment4.pdf Programming in Java CSCI 1601 Section Name: Assignment 4 (100 pts) Instructions: Submit an electronic copy of the assignment to the Dropbox Date: (ex: TicTacToe java and TicTacToeTest java) CHECK CALENDAR FOR DUE DATE Programming Exercise: Create a class to play a game of tic-tac-toe with a user. Then, wite a driver to play a game of tic- tac-toe between the computer program and the user, creating an instance of the class. The class should address the following design requirements in its programming 1) The class should ask the user if he wants to go first (be X) or second (be O) 2) The class should have the ability to make "intelligent" moves acting either as the X-player or the 0- player. It s make no illegal or impossible moves, nor remove any previous move until the game is over. ne whether a move is a good move and also whether a game has been won by X-player or 0-player. It should stop the player from making an impossible move (e.g. one not on the an already occupied location) 4) The class should re-display the curren nt board after each move, and should have the following appearance, includ the matrix indices. (Take this as an example of a game in progress.) (0,0) 0.2) (2.2) 5) The user should be able to enter his move by answering at a prompt "Your move "with the location of his nest uli, row # column#) For instance, in the game above the user being X could have responded with 2.2 - in which case he would have been notified that he won the game, Tic-tac-toe!" But, for example, if the user had entered, 1,0 he would have been told that i it is illegal to attempt to move on to an already occupied location. IMPORTANT: FOLLOW GOOD PROGRAMMING STYLE/CONVENTION FOR NAMING ALL YOUR JECTS/VARIABLES ADD COMMENTS ON TOP OF EACII METHOD AND AT TOP OF THE FILE (SEE EXAMPLE AT THE LAST PAGE) DOLL

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!