Last active
February 10, 2020 18:58
-
-
Save mtimkovich/8373455b8c0eba0089f97f294611b8c9 to your computer and use it in GitHub Desktop.
fake netplay codes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use rand::Rng; | |
fn main() { | |
let netplay: String = (0..8) | |
.map(|_| format!("{:x?}", rand::thread_rng().gen_range(0, 16))) | |
.collect(); | |
println!("{}", netplay); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment