import Crypto public struct WorldMeta { private init() { } public static let maxId: UInt32 = 10000 public static let randomId = { () -> UInt32 in UInt32(1) + (try! Random.makeUInt32()) % maxId } public static let maxRandomNumber: Int32 = 10000 public static let randomRandomNumber = { () -> Int32 in Int32(1) + abs(try! Random.makeInt32()) % maxRandomNumber } }