Sunday, November 18, 2012

Week #10 Snakes & Ladders




















we got STA247 assignment in this week.
i think it can be solved using Mathematical Induction.

there is the question
"Design and model a board game of Snakes-and-Ladders variety.  Your board must have at
least 9 squares (spaces), and must include at least one move-ahead (ladder) and one move-back (snake).  Simulate at least two players (pieces).  A simulated fair six-sided die will be used to advance the pieces.  A player near the end of the board can finish only if player rolls the exact number needed to reach the terminus; otherwise, that player waits until his/her next turn to try again."



16 15 14 13
9 10 11 12
8 7 6[L] 5[L]
1 2 3[S] 4[S]


this is my game board.

No comments:

Post a Comment