Question: create 19 types of blocks and create 3 different types of blocks randomly(eg, 3d array to store 19 types of blocks), you should using the
create 19 types of blocks and create 3 different types of blocks randomly(eg, 3d array to store 19 types of blocks), you should using the following code that have created a borad windows. the following details below the pictures



![below the pictures R1[1] Start Game When the user inputs1 in the](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3a1a412976_65966f3a1a38a134.jpg)
R1[1] Start Game When the user inputs1 in the Game Menu, the game starts with the current game mode and current game settings (see R2). There are two game modes: (1) the original mode and (2) the timer bomb mode. In both game modes, the player needs to put blocks onto a square game board to score, with the aim of producing complete horizontal or vertical lines of blocks in order to clear those lines. The game ends when the player fails to put any blocks onto the game board, or in addition when a bomb explodes (i.c., bomb timer expires) if it is under game mode (2). You are free to design a good way to show the game status information and prompt messages. But the console should display at least the followings: (1) the total marks scorcd by the playcr, (2) thc updated game board, and (3) a choosc list with THREE randomly-generated blocks for player to choose. R1.1 Game board The player plays on a game board with a default size 10 10, The game board is enclosed by a boundary with characters r for vertical boundary, for horizontal boundary, and +' for the corner. Each location in the board is identified by a Icttcr and a number An example of board with default size (10 10) is given below, with the top-left location identified by A0: 0 1 2 3 4 5 6 7 8 9 R1[1] Start Game When the user inputs1 in the Game Menu, the game starts with the current game mode and current game settings (see R2). There are two game modes: (1) the original mode and (2) the timer bomb mode. In both game modes, the player needs to put blocks onto a square game board to score, with the aim of producing complete horizontal or vertical lines of blocks in order to clear those lines. The game ends when the player fails to put any blocks onto the game board, or in addition when a bomb explodes (i.c., bomb timer expires) if it is under game mode (2). You are free to design a good way to show the game status information and prompt messages. But the console should display at least the followings: (1) the total marks scorcd by the playcr, (2) thc updated game board, and (3) a choosc list with THREE randomly-generated blocks for player to choose. R1.1 Game board The player plays on a game board with a default size 10 10, The game board is enclosed by a boundary with characters r for vertical boundary, for horizontal boundary, and +' for the corner. Each location in the board is identified by a Icttcr and a number An example of board with default size (10 10) is given below, with the top-left location identified by A0: 0 1 2 3 4 5 6 7 8 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
