Menu

#2 Doubles getting out of jail

open
nobody
None
5
2004-08-21
2002-06-23
No

The computer was sent to jail. Then, it rolled double fours and was
released. It then let him roll again, because he rolled doubles.
However, in the real game, you do not get to roll again if you roll
doubles to get out of jail.
I don't know what happens when a
human encounters this.
-James

Discussion

  • David Barnes

    David Barnes - 2002-06-23

    Logged In: YES
    user_id=566017

    Thank you again! I wasn't aware of this rule. You will find
    a lot of bugs if you keep playing the game. This isn't an
    official release and shouldn't be played as a real game, but
    thank you for testing it!

     
  • James F. Carroll

    Logged In: YES
    user_id=567023

    On a related note, I rolled doubles in jail and it didn't let me
    out.

    Also, when you fail to roll doubles three times, it needs to
    deduct $50.
    -James

     
  • James F. Carroll

    • priority: 5 --> 3
     
  • Brian Schmitt

    Brian Schmitt - 2003-04-30

    Logged In: YES
    user_id=672151

    The player is now presented with an option to use a card if
    they have one, pay 50 or roll, if doubles is rolled it will let
    them out, however right now they can go again. If they fail to
    roll doubles on the third time, it will dedecut 50 and release
    them from jail.

     
  • Simon Mitchell

    Simon Mitchell - 2004-08-21
    • priority: 3 --> 5
     
  • TaCktiX

    TaCktiX - 2005-02-12

    Logged In: YES
    user_id=1218063

    Add a flag variable that turns on whenever someone is in
    jail. When doubles are rolled and that variable is on, then
    you get out of jail, but another roll is canceled by the
    existence of the variable.

    Sample code:

    Getting in Jail Subroutine:
    ...
    JailVar = 1 (was 0 before)
    ...

    Roll Subroutine:
    <whatever randomization code is present>
    <Check for doubles>
    If JailVar <> 0 and <Doubles are true> Then
    <Kick out of jail, but ignore movement or second roll>
    End If
    If JailVar <> 0 Then
    JailVar = JailVar + 1 'will check for number of rolls in jail
    End If
    If JailVar > 3 Then
    <Deduct $50>
    <Remove from Jail>
    JailVar = 0
    End If

     

Log in to post a comment.