Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 745 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 745 Bytes

Go Horsey, Go Run!

Concurrent Rust CLI horse run. Mini Rust game for my programming languages class.

  • created by Pride

A mini game that involves Rust concurrency and multithreading to simulate horse racing gambles. Uses Arc and Mutex<bool> to manage data racing of the resource that announces the winner. Uses rand to do some RNG of horse paces to update their position in each thread.

Images

Screenshot 2023-11-13 133605

Screenshot 2023-11-13 133800

Dependencies / Crates

  • rand

https://crates.io/crates/rand