- Changed how random numbers are generated for the
shuffle
deck method. Instead of making a new generator for each shuffle, each thread now contains its own generator, and that is passed in to each game, and in turn, to each shuffle instance. - Added
get_median
. - Added
rank_letter
,rank_passes
,rank_reason
. - Changed majority of the testing section
- Following WarGame Go system.
- Changed the output stage.
- Updated Rust (the compiler) from 1.1 to 1.5.
- Updated packages from July to January.
- Added
multiplier
cli argument.
Major refactoring due to language changes.
- Converted
fmt::String
tofmt::Display
- Converted
#[derive(Clone)]
to#[derive(Clone, Copy)]
on the traits - Switched from
format!(...).as_slick
to&obj.to_string
- Changed the values from
u32
toi32
sincex - y
could be negative sometimes - Switching from
debug!
macro to the newlog
macro set (info!
usually) - Added debugging packages
- use
RUST_LOG=info cargo run
to view debugging output
- use
- Split the benchmarking code from
main.rs
intobenchmark.rs
- Moved
backpring
intobenchmark.rs
- Converted
range
calls into new..
syntax - Replaced
std::Float
math calls to newf64
calls - Added 5-decimal numeric precision to
speed_v
- Reorganized most
use
statements in the file headers - Swapped begun with started because English is difficult
- Moved various helper sections into their own functions
- Added statistical functions
- Added documentation
- Cleaned up spacing and overall code
Honestly, that was six months ago. Who knows.