📅  最后修改于: 2022-03-11 15:01:01.486000             🧑  作者: Mango
struct Player {
var name: String
var highScore: Int = 0
var history: [Int] = []
init(_ name: String) {
self.name = name
}
}
var player = Player("Tomas")