Classes:
Board -- Final class
attributes being -- array of 100 positions:
Snake -- array of snakes to be used
attributes: start_pos, end_pos
Ladder -- array of ladders to be used
attributs: start_pos, end_pos
since both Snake Ladder have similar attributes.. we can have a common
before posting a qn. try to understand what's posted above.. and why like
that..
-- there could be multple designs.. but the best one comes after a good
discussions/ or exp.
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To view this