Skip to content

Different string seeds but same results #79

@george-yihao-xu

Description

@george-yihao-xu

const seed1 = "0_1B:10_2B:12_3B:5_4B:5_ST:6"; const seed2 = "0_1B:10_2B:10_3B:6_4B:5_ST:7";

Hey!
Recently I noticed that if I passed these two different string to seed, the result would be same.

image

Here is my testing repo. Feel free to check it out.

Currently, I solved this issue by using stringToSeed function, simply convert string to number, and the issue is gone. Yet I'm still curious about the reason of the coincidence shown above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions