Tile - The fundamental unit of reality
In VIVA’s cosmology, space is discrete. Each tile represents
a quantum of existence with specific properties.
Tile Types
- Void: The Abyss - impassable nothingness
- Wall: Structure - the fabric of reality
- Path: Data Flow - where consciousness can move
- Core: Leviathan - the singularity point (Big Bounce trigger)
The fundamental unit of the labyrinth
pub type Tile {
Void
Wall
Path
Core
}
Constructors
-
The Abyss - beyond the boundaries of existence
-
Structure - the walls that define reality
-
Data Flow - passable space
-
The Leviathan - singularity point, triggers Big Bounce
pub fn from_int(n: Int) -> Tile
pub fn is_passable(tile: Tile) -> Bool
Check if a tile is passable
pub fn is_singularity(tile: Tile) -> Bool
Check if a tile is the singularity
pub fn to_char(tile: Tile) -> String
Get display character for tile
pub fn to_int(tile: Tile) -> Int
Convert tile to integer (for serialization)