pub static PIPEMAPS: Map<&'static str, &'static Map<&'static str, &'static str>>Expand description
Contains three pipe-map presets: Thin Medium Thick
ยงExamples
use cli_2048::Grid;
use cli_2048::PIPEMAPS;
//Create a 4x4 grid
let grid = Grid::new(4, 4);
//Create a grid with a custom pipe-map
let grid = grid.with_pipes(PIPEMAPS.get("Medium").unwrap());
//Or like this
let grid = Grid::new(4, 4).with_pipes(PIPEMAPS.get("Medium").unwrap());