fake netplay codes
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