diff --git a/Seance5-6/seance/src/controller/IndexController.php b/Seance5-6/seance/src/controller/IndexController.php
index 4505ac949d8c3c5aad68c6b6928f45eca75533ed..004c916e3eeb9eb065ef151e821d3bc17014b933 100644
--- a/Seance5-6/seance/src/controller/IndexController.php
+++ b/Seance5-6/seance/src/controller/IndexController.php
@@ -20,26 +20,10 @@ class IndexController
         $game = Game::select('id','name','alias','deck')->where('id','<=','200')->get();
         // $game = Game::where('id','=',1)->get();
          // $json = json_encode($game,JSON_FORCE_OBJECT);
-         $json = '{ "games" : [ ';
          foreach($game as $key => $value) {
-             $json = $json . json_encode($value) . ',';
-             /*$json = $json .  '{
-                 "id": ' . $value->id . ',
-                 "name":' . $value->name . ',
-                 "deck":' . $value->deck . ',
-             },
-             ';*/
-             if ($value->id == 200) {
-             $json = $json . json_encode($value);/*
-                 $json = $json .  '{
-                     "id": ' . $value->id . ',
-                     "name":' . $value->name . ',
-                     "deck":' . $value->deck . ',
-                 }
-                 ';*/
-             }
-             }
-         $json = $json . ']}';
+                $value->description = "...";
+         }
+         $json = json_encode($game);
          $cq2 = new VuePartie2($json);
          $cq2->render();
     }
diff --git a/Seance5-6/seance/src/view/VuePartie2.php b/Seance5-6/seance/src/view/VuePartie2.php
index a7c83edba117a886a942221ae1b4631a62152540..892645ff4691e38cb9fdf8610597520ae852402b 100644
--- a/Seance5-6/seance/src/view/VuePartie2.php
+++ b/Seance5-6/seance/src/view/VuePartie2.php
@@ -21,12 +21,11 @@ class VuePartie2
             
             <link rel="stylesheet" href="css/main.css">
         
-            <title>photobox</title>
+            <title>AppliBD</title>
         </head>
 
         <body>
-            <h1>Titre</h1>
-            <p>$json</p>
+            $json
         </body>
 
 END;