tetrs-tui 0.1.2

A terminal-based Tetris clone built using the Cursive TUI library.
Documentation
// ids for cursive callbacks on views
pub const ACTION: &str = "action";
pub const HIGH_SCORE: &str = "highscore";
pub const SCORE: &str = "score";
pub const LEVEL: &str = "level";
pub const LINES: &str = "lines";
pub const STARTING_LEVEL: &str = "slevel";
pub const STARTING_LEVEL_PREVIEW: &str = "slevelp";
pub const BOARD: &str = "board";
pub const GHOST_PIECE_ON_OFF: &str = "ghostpiece";
pub const AUDIO_ON_OFF: &str = "audioset";
pub const HELD_PIECE: &str = "heldpiece";
// next pieces
pub const NEXT_PIECE: &str = "npiece";
pub const PIECE_IN_2: &str = "2piece";
pub const PIECE_IN_3: &str = "3piece";
pub const PIECE_IN_4: &str = "4piece";
// hideable views for pieces (for small screen mode)
pub const HIDE_IN_2: &str = "h2";
pub const HIDE_IN_3: &str = "h3";
pub const HIDE_IN_4: &str = "h4";

// stats
pub const ELAPSED: &str = "elapsed";

pub const SINGLES: &str = "singles";
pub const DOUBLES: &str = "doubles";
pub const TRIPLES: &str = "triples";
pub const TETRSES: &str = "tetrses";
pub const TETRS_RATE: &str = "tetrsrate";