// // TableSize.swift // TournamentStats // // Created by Laurent Morvillier on 30/08/2019. // Copyright © 2019 Stax River. All rights reserved. // import Foundation class TableSize { static func format(tableSize: Int) -> String { switch tableSize { case 2: return "Heads-up" default: return "\(tableSize)-max" } } }