You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.8 KiB

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createBoard"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rules"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Model\/documentation\/Model\/Rules","preciseIdentifier":"s:5Model5RulesP","text":"Rules"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Model\/documentation\/Model\/Board","preciseIdentifier":"s:5Model5BoardV","text":"Board"},{"kind":"text","text":"?"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/model\/game\/createboard(rules:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Model\/documentation\/Model\/Game\/createBoard(rules:)","interfaceLanguage":"swift"},"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createBoard"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rules"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Rules","preciseIdentifier":"s:5Model5RulesP"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Board","preciseIdentifier":"s:5Model5BoardV"},{"kind":"text","text":"?"}],"title":"createBoard(rules:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:5Model4GameC11createBoard5rulesAA0D0VSgAA5Rules_p_tF","modules":[{"name":"Model"}]},"hierarchy":{"paths":[["doc:\/\/Model\/documentation\/Model","doc:\/\/Model\/documentation\/Model\/Game"]]},"references":{"doc://Model/documentation/Model":{"role":"collection","title":"Model","abstract":[],"identifier":"doc:\/\/Model\/documentation\/Model","kind":"symbol","type":"topic","url":"\/documentation\/model"},"doc://Model/documentation/Model/Board":{"role":"symbol","title":"Board","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Board"}],"abstract":[{"type":"text","text":"The board of the Connect 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Board","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Board"}],"url":"\/documentation\/model\/board"},"doc://Model/documentation/Model/Game":{"role":"symbol","title":"Game","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Game"}],"abstract":[],"identifier":"doc:\/\/Model\/documentation\/Model\/Game","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Game"}],"url":"\/documentation\/model\/game"},"doc://Model/documentation/Model/Game/createBoard(rules:)":{"role":"symbol","title":"createBoard(rules:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"createBoard"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rules"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Rules","preciseIdentifier":"s:5Model5RulesP"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Board","preciseIdentifier":"s:5Model5BoardV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Model\/documentation\/Model\/Game\/createBoard(rules:)","kind":"symbol","type":"topic","url":"\/documentation\/model\/game\/createboard(rules:)"},"doc://Model/documentation/Model/Rules":{"role":"symbol","title":"Rules","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"Rules"}],"abstract":[{"type":"text","text":"Rules of Connect 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Rules","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Rules"}],"url":"\/documentation\/model\/rules"}}}