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 generic class.. "PositionChanges" -- give some meaningful name here.. and.. each of the derived class should have an attributes saying that if its Snake, Ladder. The Dice can be some static method which returns a random value from 2 - 12 Finally.. Player class will have a thing to move. -- Thing_kind -- thing_color -- item_position -- posisiton on the board. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/aAWbwGbdR0oJ. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.