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

{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"AI"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Yohann BREUIL"}]}],"type":"aside","name":"Author"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/model\/ai"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/Model\/documentation\/Model\/Player"],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"}],"identifier":{"url":"doc:\/\/Model\/documentation\/Model\/AI","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Artificial intelligence player of Connect 4 game"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"AI"}],"title":"AI","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"s:5Model2AIC","modules":[{"name":"Model"}],"navigatorTitle":[{"kind":"identifier","text":"AI"}]},"hierarchy":{"paths":[["doc:\/\/Model\/documentation\/Model"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/Model\/documentation\/Model\/AI\/init()"]},{"title":"Instance Methods","identifiers":["doc:\/\/Model\/documentation\/Model\/AI\/chooseColumn()"]}],"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/AI":{"role":"symbol","title":"AI","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"AI"}],"abstract":[{"type":"text","text":"Artificial intelligence player of Connect 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/AI","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AI"}],"url":"\/documentation\/model\/ai"},"doc://Model/documentation/Model/AI/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[{"type":"text","text":"Initialize the artificial intelligence"}],"identifier":"doc:\/\/Model\/documentation\/Model\/AI\/init()","kind":"symbol","type":"topic","url":"\/documentation\/model\/ai\/init()"},"doc://Model/documentation/Model/Player":{"role":"symbol","title":"Player","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Player"}],"abstract":[{"type":"text","text":"Player of Connect 4 game"}],"identifier":"doc:\/\/Model\/documentation\/Model\/Player","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Player"}],"url":"\/documentation\/model\/player"},"doc://Model/documentation/Model/AI/chooseColumn()":{"role":"symbol","title":"chooseColumn()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"chooseColumn"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"abstract":[{"type":"text","text":"Choose a column"}],"identifier":"doc:\/\/Model\/documentation\/Model\/AI\/chooseColumn()","kind":"symbol","type":"topic","url":"\/documentation\/model\/ai\/choosecolumn()"}}}