move would then be implemented as a pure virtual function in a player abstract base class, to be defined in humanPlayer and computerPlayer. This would certainly be a cleaner way to organize my code, but it's not immediately apparent to me how to go about doing this.
movewould then be implemented as a pure virtual function in aplayerabstract base class, to be defined inhumanPlayerandcomputerPlayer. This would certainly be a cleaner way to organize my code, but it's not immediately apparent to me how to go about doing this.