My aim is to create a program (backend only) to allow a game of chess to be played.It'll determine whether a move is valid, whether a player is in check etc.
I've had a think about how to design this and have tentatively come up with the following:
-Game class which holds the board and has methods to determine whether a move is valid;
-Player class which holds information about whether the player is in check etc and
-contains all the Pieces objects (such objects detailing the type of piece e.g. knight)
I've not done a huge amount of OOP so any advice would be fantastic.