Last week I posted a topic for help correcting an error in a Tic-Tac-Toe code, and my assignment for this week is to create a 3-D Tic-Tac-Toe game in C++ that will play against the user. The AI doesn't have to actually use strategy; it can randomly select a square. "3-D" means that there are three TTT boards on the screen, and in addition to winning in the normal way, you can win "down". I.e. if there is an 'X' in the top left square of each of the three boards, that is another point for 'X'. My program must use OOP concepts and use inherited classes from my class for the board I designed in my previous assignment. I understand that no one here knows what my original class looked like, but my problem isn't the programming, but the concept. What could my base class include (conceptually) and what do I gain in inheriting its traits?
Thanks for the help, and I'll post the code from my last assignment if it becomes necessary.