Project: Lines of Action
Requirement
Requirements:
Two files will be submitted: cpp AND gameplay.cpp ;
Do not need to submit h
Insert your name, student ID, and e-mail address as comments at the beginning of your source files;
Include suitable comments as documentation;
Free of compilation errors and warnings;
NO global variables allowed;
Two submitted files will be graded separately, so you should not mix the functionalities of the two files
Game Description
Start condition:
There are 2 players (player Black and player White) and an empty square game board of fixed size (8*8).
Game stage:
Two players take turns (Black starts first) to move their pieces horizontally ↔, vertically ↕, or diagonally ⤡⤢ following the rules:
The piece moves exactly as many squares as there are pieces on the line in which it is moving.(e.g., a2 in (a) can move exactly 2 squares horizontally or diagonally.)
Game Description
Start condition:
There are 2 players (player Black and player White) and an empty square game board of fixed size (8*8).
Game stage:
Two players take turns (Black starts first) to move their pieces horizontally ↔, vertically ↕, or diagonally ⤡⤢ following the rules:
Checkers(i.e., pieces) can jump over other checkers of the same player, but not over the opponent's checkers. (b)
Game Description
Start condition:
There are 2 players (player Black and player White) and an empty square game board of fixed size (8*8).
Game stage:
Two players take turns (Black starts first) to move their pieces horizontally ↔, vertically ↕, or diagonally ⤡⤢ following the rules:
Checkers can land on an unoccupied square or a square occupied by an opponent's checker. In the latter case the opponent's checker is captured and is removed from the board (c).
Game Description
End of the game:
Win: After a move, current player makes all his/her pieces adjacent to each other vertically, horizontally, and diagonally => The player wins
Suicide: After a move, all his/her opponent’s pieces are adjacent to each other vertically, horizontally, and diagonally (because of Capture)
=> The opponent wins
Draw game: When a move makes both players’ pieces adjacent to each other vertically, horizontally, and diagonally => Draw game
White wins
Opponent(white) wins
A class called LinesOfAction to model the chess game (implemented by h(provided) and LinesOfAction.cpp)
A cpp file as client program of class LinesOfAction which performs the game flow.
Tips: You are recommended to finish the LinesOfAction class first
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme