Can someone answer this using simple Java coding? Arrays/IfElse/Do,while/etc.... Game: Gomoku Gomoku, also called Five
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 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
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba