Do I need images (jpegs) or could a reasonable looking board be made using
things like icons and text fields?
Any suggestions on how to start? i.e. Should I have a class called Square that
has fields like rent, price, houses etc. etc?
Dave
"AJazk" <AJ...@News.com> wrote in message
news:260ce2b832ec802f...@news.teranews.com...
Joe
Well, I don't know about the OP... but I think I already understand, and
you've confused the heck out of me. How were you thinking of going
about defining inheritance relationships between Dice, Player, and Card?
I don't see anything that really makes sense here.
Abuse of inheritance is the single most common problem among new
practitioners of OO design. Probably best not to encourage it.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Agreed, I don't see much inheritence applicable to the above. The most
obvious candidate for inheritence is the square, eg:
monopoly.Square (abstract)
monopoly.PurchaseableSquare extends Square (abstract)
monopoly.StreetSquare extends PurchaseableSquare
monopoly.StationSquare extends PurchaseableSquare
monopoly.UtilitySquare extends PurchaseableSquare
> Any suggestions on how to start? i.e. Should I have a class called
> Square that has fields like rent, price, houses etc. etc?
>
>
Well you'd have problem with AI. ;) You need AI that will do some trading
and don't jump on player. At the same time it should not be abused from
player.
You can start with text version but keep images in mind.
>
> Any suggestions on how to start? i.e. Should I have a class called Square
that
> has fields like rent, price, houses etc. etc?
It looks reasonable.