| 
					
				 | 
			
			
				@@ -1,32 +1,43 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div id="app"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="container" style="position: absolute;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <span>For tests :</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <button class="btn btn-primary" @click="display = 'app-menu'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Menu 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <button class="btn btn-primary" @click="display = 'app-game'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Game 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div class="container fill" style="height: 100vh;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <!-- <div class="bg"> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <keep-alive> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <transition 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          enter-active-class="animated bounceInUp" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          leave-active-class="animated bounceOutDown" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          mode="out-in" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          appear 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="container-fluid"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div class="row"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          class="col-2" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="!hideTest" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          style="background-color:lightgreen;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <component 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :is="display" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @join-game-id="launchOnlineGame($event)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :username="username" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :game-id="onlineGameId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ></component> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </transition> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </keep-alive> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <!-- </div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span class="title-medieval">For tests</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <br /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="btn btn-primary custom-button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="display = 'app-menu'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Enter Menu 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <br /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <br /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="btn btn-primary custom-button" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="display = 'app-game'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Enter Game 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="col"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <button style="font-size:8px" @click="hideTest = !hideTest"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Test 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <keep-alive> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <component 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :is="display" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              @join-game-id="launchOnlineGame($event)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :username="username" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :game-id="onlineGameId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ></component> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </keep-alive> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -41,7 +52,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       display: 'app-menu', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       username: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      onlineGameId: -1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      onlineGameId: -1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      hideTest: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -66,24 +78,22 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<style scoped> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-.bg { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  height: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  width: auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  position: relative; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<style scoped lang="scss"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@import './styles/fonts/fonts.scss'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+.title-medieval { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-family: MedievalSharp, cursive; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-size: 30px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  text-transform: capitalize; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-.bg::after { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  content: ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  background: url('./assets/twelveHeroes_cover.png'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  background-repeat: no-repeat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  background-position: center center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  background-size: contain; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  opacity: 0.7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  top: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  left: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  bottom: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  right: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  z-index: -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+.custom-button { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-family: MedievalSharp, cursive; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-size: 20px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  background-color: transparent; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  color: red; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  border: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  text-transform: capitalize; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 |