From 888e8904eb99d41cb364b7eeda0b45a4ecc524ce Mon Sep 17 00:00:00 2001 From: Angelique Delevingne Date: Wed, 14 Oct 2020 21:49:44 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20d'une=20erreur=20dans=20l'execution=20don?= =?UTF-8?q?n=C3=A9=20en=20exemple.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 85fe539..7562e9e 100644 --- a/Readme.md +++ b/Readme.md @@ -119,14 +119,14 @@ depuis un fichier d'instruction, et afficher a la fin leurs positions finales. Dans cette version on va écrire du code pour afficher la positions des robots et dessiner la grille. -Vous devrez pouvoir dessiner quelque chose comme cela en partant de la grille donnée en exemple plus haut -dans votre terminal: +Vous devrez pouvoir dessiner quelque chose comme cela en partant de la grille +donnée en exemple plus haut dans votre terminal: ```txt Terrain { x_max = 5; y_max = 5 } Robots [ - { id = 0, x = 1; y = 1; orientation: North }, - { id = 1; x = 3; y = 2; orientation: South }, + { id = 0, x = 1; y = 1; orientation: North, instructions: [F,L,L,F,R,F], }, + { id = 1; x = 3; y = 2; orientation: South, instructions: [F,F,L,F,R,R,F], }, ] Etat initial ============================ @@ -143,7 +143,7 @@ Etat final 4 . . . . . . 3 . . . . . . 2 . . . . . . -1 . ➡ . . . . +1 ⬅ . . . . . 0 . . . ⬅ . . 0 1 2 3 4 5 ```