Преглед изворни кода

removed css from basic levels and updated level 2

cecylia пре 9 година
родитељ
комит
34f970d88f
3 измењених фајлова са 8 додато и 15 уклоњено
  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",
 			id:"Alice",
 			ports:1,
 			ports:1,
+			image:"iphone-1",
 			x:0.25,
 			x:0.25,
-			y:0.25,
+			y:0.5,
 			player:true
 			player:true
 		},
 		},
 		{
 		{
 			id:"Bob",
 			id:"Bob",
 			ports:1,
 			ports:1,
 			x:0.75,
 			x:0.75,
-			y:0.25
+			y:0.5
 		}
 		}
 	],
 	],
 	links:[
 	links:[
@@ -23,7 +24,7 @@
 	timeline:[
 	timeline:[
 		{
 		{
 			type:"packet",
 			type:"packet",
-			at:50,
+			at:500,
 			from:"Bob",
 			from:"Bob",
 			payload:{
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
 				network:{srcip:"Bob",dstip:"Alice"}
@@ -31,7 +32,7 @@
 		},
 		},
 		{
 		{
 			type:"packet",
 			type:"packet",
-			at:1050,
+			at:1500,
 			from:"Bob",
 			from:"Bob",
 			payload:{
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
 				network:{srcip:"Bob",dstip:"Alice"}
@@ -39,7 +40,7 @@
 		},
 		},
 		{
 		{
 			type:"packet",
 			type:"packet",
-			at:2050,
+			at:2500,
 			from:"Bob",
 			from:"Bob",
 			payload:{
 			payload:{
 				network:{srcip:"Bob",dstip:"Alice"}
 				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
 <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
 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
 <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
  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>
  <h3>Level Objectives</h3>
 
 
 <ul><li>send a ping from Alice to Google</li></ul>
 <ul><li>send a ping from Alice to Google</li></ul>
- 
+