Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 6 Part 1
Date: Fri Dec 7 2001 7:27 pm
Author: Chen, Richard <richardc@andrew.cmu.edu>
Subject: Re: int countPeices(Space player)?

The countPieces() method in MyBoard.java can sum pieces placed and not placed by merely being given the Space type object which is all which is needed since the Board (specifically, MyBoard) knows about itself, the board, and what pieces are left, in what quantity, and in which status. It doesn't need any more information (to be passed in) since the Board has all the rest of the information.

I raise another point in another thread in this forum (discussion board forum, whatever it's called) about editing isCapture() which cannot be done, but I won't duplicate that post here. Any TA, please read that post and answer.
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
int countPeices(Space player)?      Han, Shanshan      Fri Nov 30 2001 9:14 pm       
Re: int countPeices(Space player)?      Dore, Richard James      Wed Dec 5 2001 1:43 pm       
Re: int countPeices(Space player)?      Chen, Richard      Fri Dec 7 2001 7:27 pm       

Back to previous screen