Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified SCATT/Report.class
Binary file not shown.
3 changes: 2 additions & 1 deletion SCATT/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Binary file added SCATT/ReportTest.class
Binary file not shown.
Binary file modified SCATT/Scatt.class
Binary file not shown.
Binary file modified SCATT/Scatt.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion SCATT/Scatt.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file added SCATT/ScattTest.class
Binary file not shown.
Binary file added SCATT/SpriteTest.class
Binary file not shown.
Binary file added SCATT/SubmissionTest.class
Binary file not shown.
109 changes: 109 additions & 0 deletions SCATT/analyzedReports/PenguinPlay.txt
Original file line number Diff line number Diff line change
@@ -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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

92 changes: 92 additions & 0 deletions SCATT/sb/project.json
Original file line number Diff line number Diff line change
@@ -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
}
}
Binary file added SCATT/submissions/PenguinPlay.sb2
Binary file not shown.
Binary file added SCATT/unzips/PenguinPlay/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SCATT/unzips/PenguinPlay/0.wav
Binary file not shown.
42 changes: 42 additions & 0 deletions SCATT/unzips/PenguinPlay/1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SCATT/unzips/PenguinPlay/1.wav
Binary file not shown.
37 changes: 37 additions & 0 deletions SCATT/unzips/PenguinPlay/2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SCATT/unzips/PenguinPlay/2.wav
Binary file not shown.
Loading