Question: Can someone answer this using simple Java coding? Arrays/IfElse/Do,while/etc.... Game: Gomoku Gomoku, also called Five in a Row, is an abstract strategy board

Can someone answer this using simple Java coding? Arrays/IfElse/Do,while/etc....
 

 

Game: Gomoku

"Gomoku, also called Five in a Row, is an abstract

strategy board game. It is traditionally played with

Go pieces (black and white stones) on a Go board. It

is played using a 15x15 board"

The opening move

"the first player places three stones, two black and

one white, on the board. The second player then

selects one of three options: play as black, play as

white and place another white stone, or place two

more stones, one white and one black, and let the

first player choose the color."

REQUIREMENTS 

Menu

1 Show the winners

2.play

3 Exit

Generate the board

Getting the plavers' name

The opening move

Playability

—Users can make a move

—Check if move is valid

—Check if there's a winner

—Determine who is the or if it is a tie

—Keep track of the # of moves (or pieces on the board for each plaver)

Keeping track of the players and outcomes (stored in a .csv file)

—Date and start time of the competition

—Names of the players

—Who won and by how many moves

—Date and time the game ended

—How long was the competition

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A simple Java implementation for the Gomoku game import javautilScanner public class Gomoku private static final int BOARDSIZE 15 private static char board private static boolean gameOver private stat... View full answer

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 Programming Questions!