Skip to content

Conversation

@mara171
Copy link

@mara171 mara171 commented Nov 8, 2025

wow

Copy link

@alecrav alecrav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grteat parachute! 100/100 would use

Copy link
Collaborator

@Indeximal Indeximal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the clippy stuff, this looks very nice :)

Comment on lines +103 to +104
let randomstuff: u32 = rng.random();
if randomstuff % 2 == 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gives some clippy errors, and personally I prefer making a f32 and checking < p for arbitrary probability.

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.

4 participants