-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added checking whether selected tiles have identical symbols
- Loading branch information
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
pub const SELECTION_MAX: usize = 3; | ||
pub const TILE_SIZE: u16 = 70; | ||
pub const TILE_HALF_SIZE: f64 = (TILE_SIZE / 2) as f64; | ||
pub const TILE_GAP: u16 = 5; | ||
pub const TILE_SELECTION_BORDER: f64 = 5.0; | ||
pub const TILE_SIZE_N_GAP: u16 = TILE_SIZE + TILE_GAP; | ||
pub const MOVE_SIZE: f64 = 0.3; | ||
pub const TILE_SIZE_IN_MOVES: u16 = (TILE_SIZE_N_GAP as f64 / MOVE_SIZE) as u16; | ||
pub const FONT: &str = "43px serif"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters