diff --git a/LICENSE b/LICENSE-APACHE similarity index 100% rename from LICENSE rename to LICENSE-APACHE diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..468cd79 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. \ No newline at end of file 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 ```