Tile Based Game Functions Library