Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOHAWK: RIVEN: Generate dome code as in original game #5470

Merged
merged 1 commit into from Nov 28, 2023

Commits on Nov 26, 2023

  1. MOHAWK: RIVEN: Generate dome code as in original game

    In the original game, the dome combination is not completely random;
    only the first number is one that can be seen in the school (range 2-10),
    two numbers are chosen from the range 11-15, and two are chosen
    from the range 16-24. Presumably, this is done so that the code has
    approximately equal difficulty for every game.
    
    Until now, scummvm has generated completely random codes,
    which results in some games having very easy codes (when most of
    the numbers are below 10). Also, there's a 20% chance that
    the last number is 25, which is never used in the original game.
    vholten committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    7792049 View commit details
    Browse the repository at this point in the history