When i was passing the test, i got this question:
"You are asked to design classes for a board game system. The board
has 8X8 squares. The board game will allow the user to play "Chess"
and "Checkers". The GUI is done by another team; you have to write the
supporting functions for the GUI. The GUI wants us to supply them with
2 services: "get initial state" and "move".
Design the classes to support this system. Take in account that we may
have to support new games (on the same 8X8 board) but with different
Can you explain me the answer or show it in C++ code?