diff --git a/SCATT/Report.class b/SCATT/Report.class
index 5c252a7..37d5691 100644
Binary files a/SCATT/Report.class and b/SCATT/Report.class differ
diff --git a/SCATT/Report.java b/SCATT/Report.java
index 18a5056..e350a23 100755
--- a/SCATT/Report.java
+++ b/SCATT/Report.java
@@ -37,7 +37,8 @@ public Report(Submission[] submissions)
public void makeReport()
{
/* File reportFile = new File("/var/www/html/scratch/analyzedReports/Report-" + getReportDateTime() + ".txt"); */
- File reportFile = new File("/var/www/html/scratch/analyzedReports/" + submissions[0].getName().substring(0, submissions[0].getName().length()-4) + ".txt");
+ /* File reportFile = new File("/var/www/html/scratch/analyzedReports/" + submissions[0].getName().substring(0, submissions[0].getName().length()-4) + ".txt"); */
+ File reportFile = new File("./analyzedReports/" + submissions[0].getName().substring(0, submissions[0].getName().length()-4) + ".txt");
PrintWriter printW;
try
{
diff --git a/SCATT/ReportTest.class b/SCATT/ReportTest.class
new file mode 100644
index 0000000..6b28381
Binary files /dev/null and b/SCATT/ReportTest.class differ
diff --git a/SCATT/Scatt.class b/SCATT/Scatt.class
index 5caadae..16cf8e8 100644
Binary files a/SCATT/Scatt.class and b/SCATT/Scatt.class differ
diff --git a/SCATT/Scatt.jar b/SCATT/Scatt.jar
index 5d5dfb8..ebd8861 100644
Binary files a/SCATT/Scatt.jar and b/SCATT/Scatt.jar differ
diff --git a/SCATT/Scatt.java b/SCATT/Scatt.java
index 4b33014..898e75a 100755
--- a/SCATT/Scatt.java
+++ b/SCATT/Scatt.java
@@ -48,7 +48,8 @@ public static void main(String[] args)
//New main
- String dirName = "/var/www/html/scratch/SCATT/submissions/";
+ /* String dirName = "/var/www/html/scratch/SCATT/submissions/"; */
+ String dirName = "./submissions/";
File directory = new File(dirName);
File[] sb2s = directory.listFiles();
Arrays.sort(sb2s);
diff --git a/SCATT/ScattTest.class b/SCATT/ScattTest.class
new file mode 100644
index 0000000..fb6bf2e
Binary files /dev/null and b/SCATT/ScattTest.class differ
diff --git a/SCATT/SpriteTest.class b/SCATT/SpriteTest.class
new file mode 100644
index 0000000..91db7e2
Binary files /dev/null and b/SCATT/SpriteTest.class differ
diff --git a/SCATT/SubmissionTest.class b/SCATT/SubmissionTest.class
new file mode 100644
index 0000000..f0416a3
Binary files /dev/null and b/SCATT/SubmissionTest.class differ
diff --git a/SCATT/analyzedReports/PenguinPlay.txt b/SCATT/analyzedReports/PenguinPlay.txt
new file mode 100644
index 0000000..b009f7d
--- /dev/null
+++ b/SCATT/analyzedReports/PenguinPlay.txt
@@ -0,0 +1,109 @@
+SCATT Report February 26, 2019 8:15:00 PM
+
+File: PenguinPlay.sb2
+---------------------------------
+Scripts Total: 11
+Sprites Total: 3
+Variables Total: 1
+ Global Variables:
+ playing used 6 time(s)
+Lists Total: 0
+ScriptComments Total: 0
+Sounds Total: 5
+Costumes Total: 8
+Control Blocks: 6
+Data Blocks: 5
+Event Blocks: 17
+Looks Blocks: 9
+More Blocks Blocks: 0
+Motion Blocks: 8
+Operator Blocks: 2
+Pen Blocks: 0
+Sensing Blocks: 0
+Sound Blocks: 5
+
+Stage Counts
+---------------------------------
+Scripts: 2
+Variables: 1
+ Global Variables:
+ playing used 0 time(s)
+Lists: 0
+ScriptComments: 0
+Sounds: 1
+Costumes: 2
+Control Blocks: 0
+Data Blocks: 0
+Event Blocks: 4
+Looks Blocks: 0
+More Blocks Blocks: 0
+Motion Blocks: 0
+Operator Blocks: 0
+Pen Blocks: 0
+Sensing Blocks: 0
+Sound Blocks: 1
+
+Sprite Counts
+---------------------------------
+Sprite: Sprite1
+Scripts: 2
+Variables: 0
+ Global Variables:
+ playing used 1 time(s)
+Lists: 0
+ScriptComments: 0
+Sounds: 0
+Costumes: 2
+Control Blocks: 3
+Data Blocks: 1
+Event Blocks: 2
+Looks Blocks: 4
+More Blocks Blocks: 0
+Motion Blocks: 4
+Operator Blocks: 1
+Pen Blocks: 0
+Sensing Blocks: 0
+Sound Blocks: 0
+
+Sprite: Penguin2 Talk
+Scripts: 3
+Variables: 0
+ Global Variables:
+ playing used 4 time(s)
+Lists: 0
+ScriptComments: 0
+Sounds: 0
+Costumes: 2
+Control Blocks: 0
+Data Blocks: 3
+Event Blocks: 5
+Looks Blocks: 2
+More Blocks Blocks: 0
+Motion Blocks: 0
+Operator Blocks: 0
+Pen Blocks: 0
+Sensing Blocks: 0
+Sound Blocks: 0
+
+Sprite: Trumpet
+Scripts: 4
+Variables: 0
+ Global Variables:
+ playing used 1 time(s)
+Lists: 0
+ScriptComments: 0
+Sounds: 4
+Costumes: 2
+Control Blocks: 3
+Data Blocks: 1
+Event Blocks: 6
+Looks Blocks: 3
+More Blocks Blocks: 0
+Motion Blocks: 4
+Operator Blocks: 1
+Pen Blocks: 0
+Sensing Blocks: 0
+Sound Blocks: 4
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
diff --git a/SCATT/sb/project.json b/SCATT/sb/project.json
new file mode 100755
index 0000000..304f310
--- /dev/null
+++ b/SCATT/sb/project.json
@@ -0,0 +1,92 @@
+{
+ "objName": "Stage",
+ "scripts": [[36, 152, [["whenKeyPressed", "space"], ["nextScene"]]],
+ [33, 39, [["whenGreenFlag"], ["startScene", "Title Page"]]]],
+ "sounds": [{
+ "soundName": "pop",
+ "soundID": 0,
+ "md5": "83a9787d4cb6f3b7632b4ddfebf74367.wav",
+ "sampleCount": 258,
+ "rate": 11025,
+ "format": ""
+ }],
+ "costumes": [{
+ "costumeName": "Title Page",
+ "baseLayerID": 1,
+ "baseLayerMD5": "925f0e023b89e3bd303f34499b56cb7f.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop1",
+ "baseLayerID": 2,
+ "baseLayerMD5": "0e9f9da8a25794a0b2d46dab5f59f9d5.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop2",
+ "baseLayerID": 3,
+ "baseLayerMD5": "7b9b84e953f5cb6cd8bb3e8cd2b81e54.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop3",
+ "baseLayerID": 4,
+ "baseLayerMD5": "f2b06309858e2acb9d6f2bf83e5d6328.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop4",
+ "baseLayerID": 5,
+ "baseLayerMD5": "29c3cbc39c3805d424706a208fcc4646.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop5",
+ "baseLayerID": 6,
+ "baseLayerMD5": "5ad40e431840e1cb819b10866e89d6c6.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop6",
+ "baseLayerID": 7,
+ "baseLayerMD5": "6028cf0a376b81adaff5c0a332a59775.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ },
+ {
+ "costumeName": "backdrop7",
+ "baseLayerID": 8,
+ "baseLayerMD5": "6ddbd4c8319e6dd892173935ab4c14de.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 240,
+ "rotationCenterY": 180
+ }],
+ "currentCostumeIndex": 0,
+ "penLayerMD5": "279467d0d49e152706ed66539b577c00.png",
+ "tempoBPM": 60,
+ "videoAlpha": 0.5,
+ "children": [],
+ "info": {
+ "swfVersion": "v344",
+ "projectID": "10014866",
+ "scriptCount": 2,
+ "videoOn": false,
+ "spriteCount": 0,
+ "userAgent": "Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/27.0.1453.116 Safari\/537.36",
+ "flashVersion": "WIN 11,7,700,224",
+ "hasCloudData": false
+ }
+}
\ No newline at end of file
diff --git a/SCATT/submissions/PenguinPlay.sb2 b/SCATT/submissions/PenguinPlay.sb2
new file mode 100644
index 0000000..d7c252c
Binary files /dev/null and b/SCATT/submissions/PenguinPlay.sb2 differ
diff --git a/SCATT/unzips/PenguinPlay/0.png b/SCATT/unzips/PenguinPlay/0.png
new file mode 100644
index 0000000..da373d2
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/0.png differ
diff --git a/SCATT/unzips/PenguinPlay/0.wav b/SCATT/unzips/PenguinPlay/0.wav
new file mode 100644
index 0000000..5ab11f0
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/0.wav differ
diff --git a/SCATT/unzips/PenguinPlay/1.svg b/SCATT/unzips/PenguinPlay/1.svg
new file mode 100644
index 0000000..d449b3d
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/1.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/1.wav b/SCATT/unzips/PenguinPlay/1.wav
new file mode 100644
index 0000000..bf85a21
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/1.wav differ
diff --git a/SCATT/unzips/PenguinPlay/2.svg b/SCATT/unzips/PenguinPlay/2.svg
new file mode 100644
index 0000000..0ecb2de
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/2.svg
@@ -0,0 +1,37 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/2.wav b/SCATT/unzips/PenguinPlay/2.wav
new file mode 100644
index 0000000..cf46479
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/2.wav differ
diff --git a/SCATT/unzips/PenguinPlay/3.svg b/SCATT/unzips/PenguinPlay/3.svg
new file mode 100644
index 0000000..fd13221
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/3.svg
@@ -0,0 +1,27 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/3.wav b/SCATT/unzips/PenguinPlay/3.wav
new file mode 100644
index 0000000..3d54146
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/3.wav differ
diff --git a/SCATT/unzips/PenguinPlay/4.svg b/SCATT/unzips/PenguinPlay/4.svg
new file mode 100644
index 0000000..d52ce0b
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/4.svg
@@ -0,0 +1,30 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/4.wav b/SCATT/unzips/PenguinPlay/4.wav
new file mode 100644
index 0000000..a3c5240
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/4.wav differ
diff --git a/SCATT/unzips/PenguinPlay/5.svg b/SCATT/unzips/PenguinPlay/5.svg
new file mode 100644
index 0000000..a189e8d
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/5.svg
@@ -0,0 +1,25 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/6.svg b/SCATT/unzips/PenguinPlay/6.svg
new file mode 100644
index 0000000..2c643e7
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/6.svg
@@ -0,0 +1,30 @@
+
\ No newline at end of file
diff --git a/SCATT/unzips/PenguinPlay/7.png b/SCATT/unzips/PenguinPlay/7.png
new file mode 100644
index 0000000..ec3298c
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/7.png differ
diff --git a/SCATT/unzips/PenguinPlay/8.png b/SCATT/unzips/PenguinPlay/8.png
new file mode 100644
index 0000000..ffb9fb7
Binary files /dev/null and b/SCATT/unzips/PenguinPlay/8.png differ
diff --git a/SCATT/unzips/PenguinPlay/project.json b/SCATT/unzips/PenguinPlay/project.json
new file mode 100644
index 0000000..d0dbefe
--- /dev/null
+++ b/SCATT/unzips/PenguinPlay/project.json
@@ -0,0 +1,240 @@
+{
+ "objName": "Stage",
+ "variables": [{
+ "name": "playing",
+ "value": 0,
+ "isPersistent": false
+ }],
+ "scripts": [[72, 64, [["whenGreenFlag"], ["broadcast:", "Reset"]]],
+ [249, 57, [["whenKeyPressed", "space"], ["doPlaySoundAndWait", "door creak"], ["doBroadcastAndWait", "Door Open"]]]],
+ "sounds": [{
+ "soundName": "door creak",
+ "soundID": 4,
+ "md5": "66573e33e58b1ebd18207aa2c3ebc19e.wav",
+ "sampleCount": 21504,
+ "rate": 11025,
+ "format": ""
+ }],
+ "costumes": [{
+ "costumeName": "backdrop1",
+ "baseLayerID": 7,
+ "baseLayerMD5": "b61b1077b0ea1931abee9dbbfa7903ff.png",
+ "bitmapResolution": 2,
+ "rotationCenterX": 480,
+ "rotationCenterY": 360
+ },
+ {
+ "costumeName": "castle1",
+ "baseLayerID": 8,
+ "baseLayerMD5": "e1914ed7917267f1c2ef2b48004cade9.png",
+ "bitmapResolution": 2,
+ "rotationCenterX": 480,
+ "rotationCenterY": 360
+ }],
+ "currentCostumeIndex": 1,
+ "penLayerMD5": "5c81a336fab8be57adc039a8a2b33ca9.png",
+ "penLayerID": 0,
+ "tempoBPM": 60,
+ "videoAlpha": 0.5,
+ "children": [{
+ "objName": "Sprite1",
+ "scripts": [[36,
+ 61,
+ [["whenIReceive", "Reset"], ["ypos:", -60], ["xpos:", -10], ["lookLike:", "costume1"]]],
+ [272,
+ 62,
+ [["whenIReceive", "Begin walking"],
+ ["doUntil",
+ ["=", ["readVariable", "playing"], "0"],
+ [["lookLike:", "costume2"],
+ ["wait:elapsed:from:", 0.5],
+ ["changeYposBy:", -5],
+ ["lookLike:", "costume1"],
+ ["wait:elapsed:from:", 0.5],
+ ["changeYposBy:", -5]]],
+ ["lookLike:", "costume1"]]]],
+ "costumes": [{
+ "costumeName": "costume1",
+ "baseLayerID": 1,
+ "baseLayerMD5": "f9a1c175dbe2e5dee472858dd30d16bb.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 47,
+ "rotationCenterY": 55
+ },
+ {
+ "costumeName": "costume2",
+ "baseLayerID": 2,
+ "baseLayerMD5": "6e8bd9ae68fdb02b7e1e3df656a75635.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 47,
+ "rotationCenterY": 55
+ }],
+ "currentCostumeIndex": 0,
+ "scratchX": -10,
+ "scratchY": -60,
+ "scale": 1,
+ "direction": 90,
+ "rotationStyle": "normal",
+ "isDraggable": false,
+ "indexInLibrary": 1,
+ "visible": true,
+ "spriteInfo": {
+ }
+ },
+ {
+ "objName": "Penguin2 Talk",
+ "scripts": [[339, 100, [["whenIReceive", "Door Open"], ["lookLike:", "penguin2 playing"], ["broadcast:", "Move Trumpet"]]],
+ [46, 90, [["whenIReceive", "Reset"], ["lookLike:", "penguin2 standing"], ["setVar:to:", "playing", 0]]],
+ [50,
+ 225,
+ [["whenIReceive", "Trumpet Moved"],
+ ["setVar:to:", "playing", "1"],
+ ["doBroadcastAndWait", "Begin Playing"],
+ ["setVar:to:", "playing", 0]]]],
+ "costumes": [{
+ "costumeName": "penguin2 standing",
+ "baseLayerID": 3,
+ "baseLayerMD5": "4bb6ff59ed7a518da36f2300386b03a2.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 46,
+ "rotationCenterY": 36
+ },
+ {
+ "costumeName": "penguin2 playing",
+ "baseLayerID": 4,
+ "baseLayerMD5": "8e61fa29a4850fc5453445b674dd9e46.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 51,
+ "rotationCenterY": 34
+ }],
+ "currentCostumeIndex": 0,
+ "scratchX": -150,
+ "scratchY": -86,
+ "scale": 1,
+ "direction": 90,
+ "rotationStyle": "normal",
+ "isDraggable": false,
+ "indexInLibrary": 3,
+ "visible": true,
+ "spriteInfo": {
+ }
+ },
+ {
+ "target": "Stage",
+ "cmd": "getVar:",
+ "param": "playing",
+ "color": 15629590,
+ "label": "playing",
+ "mode": 1,
+ "sliderMin": 0,
+ "sliderMax": 100,
+ "isDiscrete": true,
+ "x": 5,
+ "y": 5,
+ "visible": false
+ },
+ {
+ "objName": "Trumpet",
+ "scripts": [[337,
+ 72,
+ [["whenIReceive", "Move Trumpet"], ["heading:", 90], ["gotoX:y:", -65, -74], ["broadcast:", "Trumpet Moved"]]],
+ [67,
+ 279,
+ [["whenIReceive", "Begin Playing"],
+ ["broadcast:", "Begin walking"],
+ ["doPlaySoundAndWait", "D trumpet 1\/4"],
+ ["doPlaySoundAndWait", "D trumpet 1\/8"],
+ ["doPlaySoundAndWait", "D trumpet 1\/8 2"],
+ ["doPlaySoundAndWait", "A trumpet 1\/2"]]],
+ [352,
+ 302,
+ [["whenIReceive", "Begin walking"],
+ ["doUntil",
+ ["=", ["readVariable", "playing"], " 0"],
+ [["lookLike:", "trumpet sounds"], ["wait:elapsed:from:", 0.5], ["lookLike:", "trumpet"], ["wait:elapsed:from:", 0.5]]]]],
+ [58,
+ 65,
+ [["whenIReceive", "Reset"], ["lookLike:", "trumpet-a"], ["heading:", 180], ["gotoX:y:", -124, -151]]]],
+ "sounds": [{
+ "soundName": "D trumpet 1\/4",
+ "soundID": 0,
+ "md5": "2860cdb955f3a2da13ceec9c151d4c04.wav",
+ "sampleCount": 7264,
+ "rate": 22050,
+ "format": ""
+ },
+ {
+ "soundName": "A trumpet 1\/2",
+ "soundID": 1,
+ "md5": "3b2f9725a554ccda351a423dfa666496.wav",
+ "sampleCount": 16055,
+ "rate": 22050,
+ "format": ""
+ },
+ {
+ "soundName": "D trumpet 1\/8",
+ "soundID": 2,
+ "md5": "e3738c405007b45345237e20be2e0cbc.wav",
+ "sampleCount": 6656,
+ "rate": 22050,
+ "format": ""
+ },
+ {
+ "soundName": "D trumpet 1\/8 2",
+ "soundID": 3,
+ "md5": "35cc83c8bb9dfe06dea9500a10b0bd03.wav",
+ "sampleCount": 6656,
+ "rate": 22050,
+ "format": ""
+ }],
+ "costumes": [{
+ "costumeName": "trumpet",
+ "baseLayerID": 5,
+ "baseLayerMD5": "86cd962e40e56b3f50c29a150e31ddc2.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 84,
+ "rotationCenterY": -2
+ },
+ {
+ "costumeName": "trumpet sounds",
+ "baseLayerID": 6,
+ "baseLayerMD5": "ae43303a8901dd0e7cba55ada1d31b1f.svg",
+ "bitmapResolution": 1,
+ "rotationCenterX": 85,
+ "rotationCenterY": -2
+ }],
+ "currentCostumeIndex": 0,
+ "scratchX": -124,
+ "scratchY": -151,
+ "scale": 1,
+ "direction": 180,
+ "rotationStyle": "normal",
+ "isDraggable": false,
+ "indexInLibrary": 2,
+ "visible": true,
+ "spriteInfo": {
+ }
+ },
+ {
+ "target": "Sprite1",
+ "cmd": "costumeIndex",
+ "param": null,
+ "color": 9065943,
+ "label": "Sprite1: costume #",
+ "mode": 2,
+ "sliderMin": 0,
+ "sliderMax": 100,
+ "isDiscrete": true,
+ "x": 5,
+ "y": 33,
+ "visible": false
+ }],
+ "info": {
+ "videoOn": false,
+ "spriteCount": 3,
+ "swfVersion": "v461",
+ "scriptCount": 11,
+ "userAgent": "Scratch 2.0 Offline Editor",
+ "flashVersion": "WIN 32,0,0,100"
+ }
+}
\ No newline at end of file
diff --git a/SCATT/zips/PenguinPlay.zip b/SCATT/zips/PenguinPlay.zip
new file mode 100644
index 0000000..d7c252c
Binary files /dev/null and b/SCATT/zips/PenguinPlay.zip differ