Malom is one of the oldest board games. A board was found drawn in the ceiling of an Egyptian temple dating 1400 BC. The game is played on a board with 24 points where stones may be placed. Initially, the board is empty and each of the two players hold nine stones. The player with the white stones starts. During the opening, players alternately place their stones on any vacant point. After all stones have been placed, a player may slide a stone to an adjacent vacant point. If at any time during the game a player succeeds in arranging three stones in a row (closing a mill) they remove any opponent's stone that is not part of a mill. As soon as a player has only three stones left, they may jump one of their stones to any vacant point on the board. The game ends when a player has less than three stones or a player cannot make a legal move.
Requirement 1: Arrays
· The program must use a two dimensional array that is displayed at the beginning empty, and after each player’s turn.
Requirement 2: Loops
· The program should use your choice of loop type.
Requirement 3: Branching Statements
· The program should use your choice of branching statements.
Requirement 4: Declare a winner
· After each turn, the program should evaluate if there is a winner, who the winner is, and notify the players.
I agree with Zhuge and Duoas. He's just being lazy and can't be asked to do his own homework.
I love how they never even say "Can I have help with this, please?"; they just post the question and expect it to be written for them the following morning.