![]() However, we will follow a simplified version in this assignment. Details of the original rules are provided here. Familiarize yourself with the names of the pieces.Įach chess piece can move in a specific way. ![]() The white king is on e1, and the black king is on e8. We are just creating a toy version that lets you set up pieces on the board, move them, and find possible moves given a certain position.īecause we are simplifying so many rules, we'll call this game, Modified chESS or MESS!Ĭhess is played on an 8 X 8 board where the initial placement of pieces is as shown in the following figure, taken from Wikipedia. The objective of this assignment is to practice concepts related to inheritance, overriding, polymorphism, and abstract classes, to program the basics of a chess playing program. ![]() CS161 Programming Assignment 4: Inheritance and the game of chess P4: Inheritance and the Game of Chess
0 Comments
Leave a Reply. |