A simulation engine implemented in Swift following a traditional design