Object-Oriented Design: Snakes and Ladders Game

Object-Oriented Design: Snakes and Ladders Game
Table of ContentsProblem StatementHintsSolutionVersion 1Game: Version 1ColorSnake: Version 1Ladder: Version 1Validator Interface SnakePositionValidatorLadderPositionValidatorLadderPositionRangeValidator Version 2Snake: Version 2Ladder: Version 2PlayerSnakeAndLadderPlayerDiceRegularDiceWeightedDiceBoardBoardSnakeAndLadderValidatorBoardThrillnessValidatorGame: Version 2 Problem Statement How would you design a game of Snakes and Ladders Hints Think in terms of the entities involved Think about the variations Try to relate it to the actual board game. Solution ...