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.5 KiB

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"withNbRows"},{"kind":"text","text":" "},{"kind":"internalParam","text":"nbRows"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"withNbColumns"},{"kind":"text","text":" "},{"kind":"internalParam","text":"nbColumns"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"parameters","parameters":[{"name":"nbRows ","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The number of rows of the board"}]}]},{"name":"nbColumns ","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The number of culumns of the board"}]}]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/model\/board\/init(withnbrows:withnbcolumns:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Model\/documentation\/Model\/Board\/init(withNbRows:withNbColumns:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Initialize the board with number of rows and number of columns"}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"withNbRows"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"withNbColumns"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"init(withNbRows:withNbColumns:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:5Model5BoardV10withNbRows0cD7ColumnsACSgSi_Sitcfc","modules":[{"name":"Model"}]},"hierarchy":{"paths":[["doc:\/\/Model\/documentation\/Model","doc:\/\/Model\/documentation\/Model\/Board"]]},"references":{"doc://Model/documentation/Model/Board/init(withNbRows:withNbColumns:)":{"role":"symbol","title":"init(withNbRows:withNbColumns:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"withNbRows"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"withNbColumns"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Initialize the board with number of rows and number of columns"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Board\/init(withNbRows:withNbColumns:)","kind":"symbol","type":"topic","url":"\/documentation\/model\/board\/init(withnbrows:withnbcolumns:)"},"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"}}}