Selaa lähdekoodia

removed css from basic levels and updated level 2

cecylia 9 vuotta sitten
vanhempi
commit
34f970d88f
3 muutettua tiedostoa jossa 8 lisäystä ja 15 poistoa
  1. 7 6
      levels/01 Basics/level02.json
  2. 0 4
      levels/01 Basics/level03.html
  3. 1 5
      levels/01 Basics/level05.html

+ 7 - 6
levels/01 Basics/level02.json

@@ -3,15 +3,16 @@
 		{
 			id:"Alice",
 			ports:1,
+			image:"iphone-1",
 			x:0.25,
-			y:0.25,
+			y:0.5,
 			player:true
 		},
 		{
 			id:"Bob",
 			ports:1,
 			x:0.75,
-			y:0.25
+			y:0.5
 		}
 	],
 	links:[
@@ -23,7 +24,7 @@
 	timeline:[
 		{
 			type:"packet",
-			at:50,
+			at:500,
 			from:"Bob",
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
@@ -31,7 +32,7 @@
 		},
 		{
 			type:"packet",
-			at:1050,
+			at:1500,
 			from:"Bob",
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
@@ -39,7 +40,7 @@
 		},
 		{
 			type:"packet",
-			at:2050,
+			at:2500,
 			from:"Bob",
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
@@ -55,5 +56,5 @@
 			}
 		}
 	],
-	nextLevel:"01 Basics/level03.json"
+	nextLevel:3
 }

+ 0 - 4
levels/01 Basics/level03.html

@@ -1,7 +1,3 @@
-<link rel="stylesheet" href="../../includes/css/base.css" />
-<link rel="stylesheet" href="../../includes/css/style.css" />
-
-<h1>Basics Level 3</h1>
 
 <p>So far we have seen very basic packets. These packets have shown only the source (who sent the packet) and the
 destination (who received the packet). In this level, we will see a more complex packet that will give the recipient

+ 1 - 5
levels/01 Basics/level05.html

@@ -1,7 +1,3 @@
-<link rel="stylesheet" href="../../includes/css/base.css" />
-<link rel="stylesheet" href="../../includes/css/style.css" />
-
-<h1>Basics Level 5</h1>
 
 <p> Often, your personal computer is connected to the Internet
  through a <strong>modem</strong>. This <strong>modem</strong> takes the outgoing packets from all the machines connected to it
@@ -16,4 +12,4 @@
  <h3>Level Objectives</h3>
 
 <ul><li>send a ping from Alice to Google</li></ul>
- 
+