Skip to content

a compatible "Random" of the C# in TypeScript#7

Open
x2nie wants to merge 21 commits into
Yuu6883:mainfrom
x2nie:x2nie-randomseed1
Open

a compatible "Random" of the C# in TypeScript#7
x2nie wants to merge 21 commits into
Yuu6883:mainfrom
x2nie:x2nie-randomseed1

Conversation

@x2nie
Copy link
Copy Markdown

@x2nie x2nie commented Sep 27, 2024

as we discussed in #5 , here the final work of Random class that generates identical sequence numbers compared to MarkovJunior C#.

Note: I just installing new OS, so I lack of .NET currently, you may need to reassure that the result is identical ( TS vs C$).

@x2nie
Copy link
Copy Markdown
Author

x2nie commented Sep 27, 2024

Another features shipped with this PR:

@x2nie
Copy link
Copy Markdown
Author

x2nie commented Sep 28, 2024

Driven by curious, I installed .NET in my Linux machine; to make sure whether the random class is working properly.
So here is the comparison of Apartemazements with seed: 833305277 ::

C# of MarkovJunior generates:

278

Our/Mine result:

image

@x2nie
Copy link
Copy Markdown
Author

x2nie commented Oct 22, 2024

@Yuu6883 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants