

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/'>
	<!ENTITY category 'http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://www.wikidebrouillard.org/wiki/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://www.wikidebrouillard.org/wiki/Special:ExportRDF/Le_jeu_de_Nim">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-05-02T12:58:50+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Le_jeu_de_Nim">
		<rdf:type rdf:resource="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Category-3ATutorials"/>
		<rdfs:label>Le jeu de Nim</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://www.wikidebrouillard.org/wiki/Special:ExportRDF/Le_jeu_de_Nim"/>
		<swivt:page rdf:resource="https://www.wikidebrouillard.org/wiki/Le_jeu_de_Nim"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">fr</swivt:wikiPageContentLanguage>
		<property:Animation rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pour commencer, il est possible de jouer avec quelques personnes, et de montrer que vous gagnez à tous les coups. 

Puis, en premier temps, vous pouvez laisser un temps de jeu libre par groupe de 3 ou 4, avec 2 personnes jouant et les autres observant le jeu. 

En second temps, les laisser réfléchir à une technique pour gagner à tous les coups , et confronter toutes les idées, les tester.

Intégrer la notion d'algorithme en essayant de leur faire rédiger la suite d'instructions à suivre pour gagner.</property:Animation>
		<property:Applications rdf:datatype="http://www.w3.org/2001/XMLSchema#string">On retrouve les algorithmes partout, pas que sur votre ordinateur. Par exemple, une recette de cuisine, est une suite d'instructions menant à un résultat (un gâteau ou un plat).

En sport, lorsque vous devez changer votre stratégie de jeu en fonction des actions de l'adversaire, c'est de l'algorithme. 

Autre Exemple: pour résoudre un Rubik's cube, il y a une suite d'instructions à suivre.</property:Applications>
		<property:Avertissement rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Si vous ne suivez pas à la lettre la méthode, vous allez peut être perdre.</property:Avertissement>
		<property:Complete rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Draft</property:Complete>
		<property:Description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le jeu de Nim permet de découvrir le fonctionnement d'un algorithme à l'aide de petits bâtonnets</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Easy</property:Difficulty>
		<property:Disciplines_scientifiques rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Computing</property:Disciplines_scientifiques>
		<property:Disciplines_scientifiques rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Mathematics</property:Disciplines_scientifiques>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">5</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">minute(s)</property:Duration-2Dtype>
		<property:Explanations rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pour gagner à ce jeu, il faut utiliser, comme en informatique, '''un algorithme'''. C’est une succession '''d’instructions''' (ou d’opérations) qui permet de '''résoudre''' un problème ou d’obtenir un '''résultat'''. Les '''algorithmes''' sont utilisés pour tout faire sur votre ordinateur, que ce soit pour écrire un message ou jouer aux jeux vidéos par exemple.


Dans notre cas, l''''algorithme''' se construit comme ceci:

- laisser votre adversaire commencer

- Si votre adversaire prend un bâtonnet, prenez-en 3

- Si votre adversaire prend 2 bâtonnets, prenez-en 2

- Si votre adversaire prend 3 bâtonnets, prenez-en 1

- répéter jusqu'à ce qu'il n'y ait plus de bâtonnet</property:Explanations>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Comment jouer au jeu de Nim ? Comment gagner à tous les coups ?</property:Introduction>
		<property:Item rdf:resource="&wiki;Allumette"/>
		<property:Licences rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Attribution (CC-BY)</property:Licences>
		<property:Objectives rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Faire comprendre la notion d'algorithme et d'instruction, sans passer par l'ordinateur.</property:Objectives>
		<property:Observations rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Lorsque vous jouez, le gagnant sera celui qui laisse le dernier bâtonnet. A force de jouer, vous allez normalement constater que tout le monde peut gagner, si vous n'utilisez pas de méthode particulière. 

Mais si vous utilisez la méthode décrite ci-dessus, vous allez gagner à coup sûr !

&lt;br/&gt;</property:Observations>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pour commencer, il te faut de quoi faire 21 bâtonnets, cela peut être par exemple des allumettes ou des pics à brochette.

&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Aligne les 21 bâtonnets et sépare-les tous d'environ un demi-centimètre.


A deux, vous allez chacun votre tour, retirer 1, 2 ou 3 bâtonnets.

L’objectif est de ne pas retirer le dernier bâtonnet, sinon vous avez perdu.

A vous de jouer !</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Il y a 21 bâtonnets, et l’objectif est que vous enleviez le 20ème bâtonnet pour obliger votre adversaire à prendre le dernier. Pour réussir, il faut laisser l'adversaire commencer.


Lorsque votre adversaire retire qu’un bâtonnet, retirez-en 3

Lorsque votre adversaire en retire 2, retirez-en 2

sinon, si il en retire 3, retirez-en un.


Si vous suivez cette logique, lorsque les deux joueurs ont retiré des bâtonnets, 4 bâtonnets seront retirés. Si vous faites cela 5 fois, 20 bâtonnets seront retirés, il en restera qu'un. Ce sera le tour de votre adversaire, il prend le dernier et vous avez gagné !</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Rassemble le matériel</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Comment jouer ?</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Comment gagner à tous les coups ?</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Nim</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Algorithme</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Maths</property:Tags>
		<property:Has_query rdf:resource="&wiki;Le_jeu_de_Nim-23_QUERY0dec255cb7dcf8f0fca8e4ed03452ead"/>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2020-03-27T10:19:06Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2458935.9299306</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le jeu de Nim</swivt:wikiPageSortKey>
		<property:Comments rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Comments>
		<property:Page_creator rdf:resource="&wiki;Utilisateur-3ALewis_LRSY"/>
		<property:I_did_it rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:I_did_it>
		<property:Favorites rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Favorites>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Le_jeu_de_Nim-23_QUERY0dec255cb7dcf8f0fca8e4ed03452ead">
		<swivt:masterPage rdf:resource="&wiki;Le_jeu_de_Nim"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<property:Query_depth rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Query_depth>
		<property:Query_format rdf:datatype="http://www.w3.org/2001/XMLSchema#string">plainlist</property:Query_format>
		<property:Query_size rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Query_size>
		<property:Query_string rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[:Item:Allumette]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Le jeu de Nim# QUERY0dec255cb7dcf8f0fca8e4ed03452ead</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:Class rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Category-3ATutorials" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AAnimation" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AApplications" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AAvertissement" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AComplete" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ADescription" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ADifficulty" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ADisciplines_scientifiques" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ADuration" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ADuration-2Dtype" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AExplanations" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AIntroduction" />
	<owl:ObjectProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AItem" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ALicences" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AObjectives" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AObservations" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AStep_Content" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AStep_Title" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3ATags" />
	<owl:ObjectProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AHas_query" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AComments" />
	<owl:ObjectProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3APage_creator" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AI_did_it" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AFavorites" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AQuery_depth" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AQuery_format" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AQuery_size" />
	<owl:DatatypeProperty rdf:about="http://https://www.wikidebrouillard.org/wiki/Special:URIResolver/Property-3AQuery_string" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>