board_game_range 0.1.0

A set of iterators for target ranges in a square tile based board game.
Documentation
  • Coverage
  • 70.37%
    19 out of 27 items documented0 out of 0 items with examples
  • Size
  • Source code size: 53.43 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 10.26 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mintlu8/board_game_range
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mintlu8

board_game_range

A set of iterators for target ranges in a square tile based board game.

Supported Range Types

Iterator Pattern
Diamond Range ⬜⬜🟦⬜⬜⬜🟦🟦🟦⬜🟦🟦⬜🟦🟦⬜🟦🟦🟦⬜⬜⬜🟦⬜⬜
Square Range ⬜⬜⬜⬜⬜ ⬜🟦🟦🟦⬜ ⬜🟦🟦🟦⬜ ⬜🟦🟦🟦⬜ ⬜⬜⬜⬜⬜
Cross Range ⬜⬜🟦⬜⬜⬜⬜🟦⬜⬜🟦🟦🟦🟦🟦⬜⬜🟦⬜⬜⬜⬜🟦⬜⬜
Circular Range ⬜🟦🟦🟦⬜ 🟦🟦🟦🟦🟦 🟦🟦🟦🟦🟦 🟦🟦🟦🟦🟦 ⬜🟦🟦🟦⬜
Rectangle Range ⬜⬜⬜⬜⬜ 🟦🟦🟦🟦🟦 🟦🟦🟦🟦🟦 🟦🟦🟦🟦🟦 ⬜⬜⬜⬜⬜
Square Frontal ⬜🟦🟦🟦⬜⬜🟦🟦🟦⬜⬜⬜🟥⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
Cone Frontal ⬜🟦🟦🟦⬜⬜⬜🟦⬜⬜⬜⬜🟥⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
Arc Frontal ⬜⬜⬜⬜⬜⬜🟦🟦🟦⬜⬜🟦🟥🟦⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
Line Segment ⬜⬜⬜⬜⬜⬜⬜⬜⬜🟦⬜⬜🟦🟦⬜🟦🟦⬜⬜⬜⬜⬜⬜⬜⬜
Thick Line Segment ⬜⬜⬜🟦🟦⬜⬜🟦🟦🟦⬜🟦🟦🟦⬜🟦🟦🟦⬜⬜🟦🟦⬜⬜⬜

License

License under either of

Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

Contribution

Contributions are welcome!

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.