1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! This is a canonical library for playeng Backgammon.
//! Some clarifications on how we play the game:
//!
//! Players: 1) Computer, 2) Opponent
//! Board:   is numerated from 1-24 beginning on the start point of the Computer. Opponent facing,
//!          this is switched and visible from the API's perspective. The bar will be used on
//!          position 25, if necessary.
//!

#![warn(future_incompatible)]
#![deny(
    missing_docs,
    unused_variables,
    missing_debug_implementations,
    single_use_lifetimes,
    trivial_casts,
    trivial_numeric_casts,
    unreachable_pub,
    unsafe_code,
    unused_extern_crates,
    unused_import_braces,
    unused_qualifications,
    unused_results,
    variant_size_differences
)] // be tough on code quality

/// This module implements a Backgammon match
pub mod bg_match;
/// This module implements all Backgammon rules
pub mod cube;
/// This module implements a Backgammon game
pub mod game;
/// This module implements Backgammon players
pub mod player;