Browse Source

layout changes to spoofs1

cecylia 8 years ago
parent
commit
751b9c1240
2 changed files with 9 additions and 9 deletions
  1. 0 2
      levels/02 Spoofs/spoofs01.html
  2. 9 7
      levels/02 Spoofs/spoofs01.json

+ 0 - 2
levels/02 Spoofs/spoofs01.html

@@ -1,5 +1,3 @@
-<link rel="stylesheet" href="../../includes/css/base.css" />
-<link rel="stylesheet" href="../../includes/css/style.css" />
 
 
 <h1>Spoofs Level 1</h1>
 <h1>Spoofs Level 1</h1>
 
 

+ 9 - 7
levels/02 Spoofs/spoofs01.json

@@ -2,28 +2,28 @@
 	devices:[
 	devices:[
 		{
 		{
 			id:"Alice",
 			id:"Alice",
-			type:"NullComputer",
+                        image: "iphone-1",
 			ports:1,
 			ports:1,
 			x:0.5,
 			x:0.5,
-			y:0.25,
+			y:0.2,
 			player:true
 			player:true
 		},
 		},
 		{
 		{
 			id:"Bob",
 			id:"Bob",
-			type:"NullComputer",
 			ports:1,
 			ports:1,
 			x:0.25,
 			x:0.25,
 			y:0.75
 			y:0.75
 		},
 		},
 		{
 		{
 			id:"Carol",
 			id:"Carol",
-			type:"NullComputer",
+                        image: "macbook",
 			ports:1,
 			ports:1,
 			x:0.75,
 			x:0.75,
 			y:0.75
 			y:0.75
 		},
 		},
 		{
 		{
 			id:"Router 1",
 			id:"Router 1",
+                        image: "router",
 			ports:3,
 			ports:3,
 			x:0.5,
 			x:0.5,
 			y:0.4,
 			y:0.4,
@@ -36,9 +36,10 @@
 		},
 		},
 		{
 		{
 			id:"Router 2",
 			id:"Router 2",
+                        image: "router",
 			ports:3,
 			ports:3,
 			x:0.35,
 			x:0.35,
-			y:0.6,
+			y:0.5,
 			script:deviceScripts.manualRouter,
 			script:deviceScripts.manualRouter,
 			rules:[
 			rules:[
 				{dstip:"Bob", portNum:0},
 				{dstip:"Bob", portNum:0},
@@ -48,9 +49,10 @@
 		},
 		},
 		{
 		{
 			id:"Router 3",
 			id:"Router 3",
+                        image: "router",
 			ports:3,
 			ports:3,
 			x:0.65,
 			x:0.65,
-			y:0.6,
+			y:0.5,
 			script: deviceScripts.manualRouter,
 			script: deviceScripts.manualRouter,
 			rules:[
 			rules:[
 				{dstip:"Carol", portNum:0},
 				{dstip:"Carol", portNum:0},
@@ -135,5 +137,5 @@
 			}
 			}
 		}
 		}
 	],
 	],
-	nextLevel:"02 Spoofs/spoofs02.json"
+	nextLevel:7
 }
 }