Question: Need help with this JAVA project Please make sure, that we are not suppose to make classes of use fuctions. Everything needs to be done

Need help with this JAVA project
Please make sure, that we are not suppose to make classes of use fuctions.
Everything needs to be done in the main method usings loops and arrays!
 Need help with this JAVA project Please make sure, that we
are not suppose to make classes of use fuctions. Everything needs to
be done in the main method usings loops and arrays! CS1180 Project
2 Purpose: This program will provide experience using decision statements, loops, and

CS1180 Project 2 Purpose: This program will provide experience using decision statements, loops, and processing 2 dimensional arrays. The Angry Queens Game The goal of this game is to have the user place some number of angry queens onto a gam other. The game board consists of N rows and N columns. An angry queen can attack horizontally (anything in her row), vertically (anything in her column), or diagonally from her position. e board so that the angry queens cannot attack each The game starts by asking how many angry queens the user wants place (N). This determines the size of the game board (NxN). Then the user is repeatedly asked where the next angry queen should be placed. The user specifies the queen's position by entering a row and column number. Valid row and column numbers range from 0 up to N-1 Based on the user specified position, there are 3 possible outcomes for placing that angry queen: 1. If there is an angry queen at the position specified by the user, that angry queen is removed from the game board. 2 If the position specified by the user is not safe, then the angry queen is not placed on the game board and the user is informed that the position specified is not safe. . If the position specified is safe, then the angry queen is placed on the game board at that position. A safe position on the board cannot be attack already placed on the game board. This means there are no angry queens in the row specified, in the column specified, or in any of the diagonals which contain the specified position. ed by any angry queen After reaching a disposition regarding the user's specified position, the current state of the game board is displayed to the user, and the process is repeated. Once all N angry queens have been successfully placed on the game board, the game loop terminates, the user is congratulated, and asked if they wish to play again. If they wish to play on, they are once again prompted for the number of angry queens they wish to have in game To help you understand how the program should work, a sample program run is shown on the next several pages. algorithm is described below The basic

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!