Board The computer will simulate a rectangular 6 x 7 (height 6, width 7) grid for the board. You are required to use a 2
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Board The computer will simulate a rectangular 6 x 7 (height 6, width 7) grid for the board. You are required to use a 2
Board The computer will simulate a rectangular 6 x 7 (height 6, width 7) grid for the board. You are required to use a 2-dimensional array to represent the board. The type of this array is up to the programmer Before the game begins, the user should be asked whether they want to play a normal or ex- pert game. A normal game has a 6 x 7 grid, and requires 4 pieces in a row to win. An expert game has a 6 x 9 grid, and requires 5 pieces in a row to win. IMPORTANT: You are required to make a distinct Board class. Another class Game which will contain your main method is also required. We recommend using these names, but you can name these classes whatever you like as long as it is easy to understand.