//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

// #![deny(warnings)]
#![allow(dead_code)]
#![allow(clippy::new_without_default)]

pub mod behaviors;
pub mod card;
pub mod s5;
pub mod simu;

type ApplicationWindow = simu::Board;

fn create_window(
    args: &[&str]
) -> Result<ApplicationWindow, Box<dyn std::error::Error>> {
    println!("args: {:?}", args);
    let board = simu::Board::new(s5::Rect {
        w: simu::Board::CARD_SIDE * simu::Board::COLUMNS as f64,
        h: simu::Board::CARD_SIDE * simu::Board::ROWS as f64,
    });
    // NOTHING MORE TO BE DONE HERE
    Ok(board)
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
