Skip to content

Feature request: better randomness #519

@jbodner09

Description

@jbodner09

Currently, random numbers are generated in code_800FD970.c in a very fast but potentially predictable way. Since we have access to C++'s library, we should make use of it (behind a cvar) for much more random randomness. It should be easy to add a Mersenne Twister 19937 generator in OTRGlobals that can be called in the existing random number functions when necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions