bscore-lib
bowling score library for C (written in Rust)
build
cargo build --release
output example (dll on Windows)
- target/release/bscore_lib.dll
- target/release/bscore_lib.dll.lib
sample
int
int
/*
only 300
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
ext 300 false
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
ext 300 true
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
more false
9/ x x x x x x x x xxx
20 50 80 110 140 170 200 230 260 290
290
more true
9/ x x x x x x x x xxx
20 50 80 110 140 170 200 230 260 290
290
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
x x x x x x x x x xxx
30 60 90 120 150 180 210 240 270 300
300
x x x x x x x x x xx9
30 60 90 120 150 180 210 240 270 299
299
x x x x x x x x x x9/
30 60 90 120 150 180 210 240 269 289
289
x x x x x x x x x 9/x
30 60 90 120 150 180 210 239 259 279
279
x x x x x x x x 9/ xxx
30 60 90 120 150 180 209 229 249 279
279
*/
links
library
- crate https://crates.io/crates/bscore
- repository https://github.com/nomissbowling/bscore-rs
- docs https://docs.rs/bscore/latest/bscore/
cdylib
- crate https://crates.io/crates/bscore-lib
- repository https://github.com/nomissbowling/bscore-lib
- docs https://docs.rs/bscore-lib/latest/bscore_lib/
app sample
for python
License
MIT