Question

2) Add code to compute the flips when the user places a piece and create a move object that stores the move.

Fig: 1