Traversal

CS113/RW113 First Project Hand-in Marks

Student Number Command-line arguments interpreted correctly - 2 marks Usage error upon incorrect command line arguments - 2 marks Style - 4 marks Correctly formatted, no OOP, compiled with .zip, includes necessary stdlib files etc. - 4 marks external stacks (2 per test case) - 12 marks Moving pieces on the board (2 per test case) - 8 marks Stack ordering ruels (2 marks) - 2 marks Picking up of pieces resulting effects (2 marks per test case) - 4 marks Placing a piece in the same position - 2 marks Illegal move counts as a skipped turn - 2 marks Quit command - 2 marks Green player wins - 2 marks 2 - marks Draw - 2 marks Edge case situations (2 per test case) - 6 marks Total Percentage Feedback (please take time to give the students helpful feedback here)
12180041 0 0
12348716 0 0
15499014 0 0
19478275 0 0
19353944 0 0
20072015 0 0
20941390 0 0
21746877 0 0
22390472 0 0
21740704 0 0
21704872 0 0
22572058 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Well done! You've done great! Please use consistent style of commenting
23293705 2 2 2 4 6 4 0 2 0 2 2 2 2 0 30 55.55555556 Good job! You've passed 11/21 test cases. Areas of improvement: Style( identing and commenting),Edge case,Stack ordering,placing a piece in the same position,external stack,picking up pieces and Illegal moves
22614923 0 0
22577971 0 0 2 2 0 0 0 0 0 0 0 0 0 0 4 7.407407407 None of the test cases passed! Basically have to do the project again. Also, I had to make changes in order to compile your code. Note: When you change the name of your file you should change the class name as well for example: SU123456.java , should also have the class name in the code should be " public class SU123456{}"
23970812 0 0 I think his a demi/tutor
23771321 0 0
23710306 2 2 2 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Well done! You've done a great job! You've passed all the test cases. Areas of improvement: Please use consistent style of commenting( i.e. If you started with commenting with google docs stick to that, also that leave too many lines between your line of code, and some indenting can be improved)
23831529 0 0 No submission
23720166 2 2 3 0 4 0 0 0 0 0 2 0 0 0 13 24.07407407 should be .zip file rather than a .rar file. Test cases 5,10,11,12,13,15,17 and 19 all have the same issue "Empty stack Exception". 6 and 7 have the incorrect output and 8,9 and 14 doesnt detect invalid move
23750901 0 0 No submission
24147664 2 2 3 2 12 8 2 4 2 2 2 2 2 6 51 94.44444444 Very nice project. all test cases passed. Folder contains test files, classe and multiple folders. Prints "Invalid move!" instead of "Invaild move"
23576766 0 0 No submission
23822961 2 2 1 4 8 4 2 2 0 2 2 2 2 2 35 64.81481481 6 warnings upon compilation. Prints out an extra board before displaying Statistics (penalised style). Test cases 2,8,9,14,19 and 21 doesnt detect invalid move and there are style issues with some of the other test cases
23605383 0 0 This is William another demi
24010014 0 0 No submission
23793554 0 0 This is my student number I do not know why I am on the list
23583495 0 0 No submission
23893257 0 0 This is Tinotenda another demi
24902098 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Great project and style. There should be a space between the printing of the board and the "invalid move" printout. All test cases passed
25057898 2 2 3 4 10 8 2 4 2 2 2 2 2 4 49 90.74074074 Very nice project. Test cases 2 and 19 didnt detect invalid move
25647962 2 2 2 3 3 0 0 0 0 0 0 0 0 1 13 24.07407407 Most of the test cases didnt work. 3,4 and 13 detects a invalid move for a valid move. 6,7,8,9,12,14,15,16 and 20 program get "NoSuchElementException" at line 260. Statistics dont print out pieces on board, nor do you print out "No winner, input file ended
24992046 0 0 4 4 0 0 0 0 0 0 0 0 0 0 8 14.81481481 file cannot compile, error on line 736. typo of "true6" instead of "true"
24310352 2 0 1 4 0 0 0 0 0 0 0 0 0 0 7 12.96296296 all test cases returned the same error "java.lang.numberFormatException"
24693197 0 0 no submission
24693510 0 0 2 4 0 0 0 0 0 0 0 0 0 0 6 11.11111111 Missed a bunch of "}", so code cannot be compiled and did not follow naming convention of Spec. 7 errors on compile. Project naming did not follow the specifications
24693928 2 2 2 0 12 8 2 4 2 2 2 2 2 6 48 88.88888889 almost perfect, avoid unnecessary spaces between lines in your code and perfect indentation to achieve full styling marks
24694002 2 2 2 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 good work but some inappropriate commments were used. Please refrain from this.
24694940 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 learner submitted file (not folder) that seems to be corrupted.
24696129 2 2 2 0 0 0 0 0 0 0 0 0 0 0 6 11.11111111 Code won't compile, seems a variable was given the same name as a method. Styling is inconsistent and the indentation is not uniform throughout.
24696536 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1.851851852 Code won't compile, case statements and if-statements weren't properly defined. Styling was also inconsistent as there's a lot of unnecessary large spaces everywhere. Code also doesn't seem complete, roughly a 70 lines of code.
24698288 2 2 4 4 10 8 2 4 2 2 2 2 2 4 50 92.59259259 Good work, just that a few test cases didn't pass and that needs working on.
24699098 2 0 2 4 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Code won't compile. A lot of variable conversion errors are encountered. Code seems incomplete, both in modular structures and in its totallty
24699616 2 2 2 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Excellent work but remember to include comments in your code next time.
24700541 0 0 2 0 0 0 0 0 0 0 0 0 0 0 2 3.703703704 Code does not compile. a "public abstract class main" is used and wasn't used properly for the code to run.
24701424 2 0 4 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Good work!Just work on your data/input validation
24702846 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Student does not exist on sunlearn
24702897 2 2 4 4 6 2 0 0 0 0 2 2 0 2 26 48.14814815 Need to tie up loose ends. Some outputs had additional information that wasn't meant to be there. Some pieces are also on wrong positions, needs fixing.
24702943 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Perfect!
24705756 2 2 2 4 10 8 2 4 2 2 2 2 2 4 48 88.88888889 Certain outputs didnt match and thefore need improvement. Code could use more commenting as there are currently none at all.
24707279 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Learner submitted what seems to be a class file that doesn't run at akk.
24709719 2 0 3 0 10 8 2 4 2 2 2 2 2 4 43 79.62962963 Good work overally. Few test cases failed and need improvement. Code could do with some commenting as well
24710083 0 0 4 0 0 0 0 0 0 0 0 0 0 0 4 7.407407407 Code has a lot of errors and couldn't read values from textfile. A tip for next time: Make sure your code can run on another computer for example NARGHA computers as was advised just to make sure it doesn't only work for yours.
24711829 2 2 4 4 0 0 0 0 0 0 0 0 0 0 12 22.22222222 Output is not complete.
24712248 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 no submission
24712302 0 0 4 4 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Your program always just attempts to run the local file you hardcoded.
24713848 2 0 3 4 0 2 0 0 2 0 2 0 0 0 15 27.77777778 The program appears to play the game correctly, but it prints the stacks out in a seemingly random order, not row by row.
24714380 2 2 0 4 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Program does not compile (an unused function that needs to return something and does not was the issue), also the java filename and the class name did not match up exactly. Even when I did fix the issue the program broke down on all testcases.
24714852 0 2 4 4 0 0 0 0 0 0 0 0 0 0 10 18.51851852 The program just prints an empty board
24718270 2 2 4 4 0 0 0 0 0 0 0 0 0 0 12 22.22222222 The program produces wrong output across the board. It seems to only show B4 and G1 everywhere
24719692 2 1 2 0 8 8 2 4 2 0 2 2 2 4 39 72.22222222 Fixed big formatting issue. No methods, only one giant main method. Overwhelming amount of variables where arrays could have been used. Throws exception upon non-existing file.
24720968 2 1 3 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Prints board even if incorrect file specified. Style: Odd indentation and spacing, class variables should conventionally be declared at top of class. Otherwise, excellent.
24721514 2 1 3 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Throws exception for non-existent file. Inconsistent spacing with large tabbed sections. Otherwise, outstanding work.
24726877 0 0 Empty java file.
24727962 2 0 4 3 10 8 2 4 2 0 0 2 2 4 43 79.62962963 File structure did not match package specification, causing a compile error. I removed the package from the source files. Prints out board even with no command line arguments. Throws exception when non-existent file is provided. I fixed 3 formatting issues. Check that output is EXACTLY as in spec.
24728918 2 0 2 3 6 8 2 0 2 0 0 2 0 2 29 53.7037037 No error message for incorrect arguments. PLEASE add new lines and spaces. Your code is almost illegable. I could not fix a small formatting issue because I did not know where to look. There are no methods, just one giant main method.
24729035 2 1 4 4 0 0 0 0 0 0 0 0 0 0 11 20.37037037 Throws exception for non-existent file. No test cases passed.
24729639 2 0 3 1 8 6 0 0 0 0 0 2 2 2 26 48.14814815 File was not named to student number. Thats why it could not be found. MAKE SURE your files are in the format as specified by the spec. Do not overcomment your code. Output was incorrectly formatted. I had to search through your code to fix it (line 729). No plagiarism document added. No error messages upon non-existent or invalid input file.
24738220 2 0 4 4 12 8 2 4 2 2 2 2 2 4 50 92.59259259 Prints board even if no arguments provided. Throws exception for invalid file. Otherwise, excellent work.
24739162 2 1 4 3 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Throws exception for invalid file. I deducted marks for formatting errors. Check that output is EXACTLY as in the spec. Otherwise, outstanding work.
24743151 2 0 3 3 8 6 0 2 2 2 0 2 0 0 30 55.55555556 Class name was not same as file name. Do not overcomment you code. Just briefly describe methods. Class variable should be declared at top of class. Methods should start with lower case letters. Throws exception when no arguments are provided. Goes into infinite loop when fiven invalid input file. Check formatting of output.
24743348 2 0 3 0 0 0 0 0 0 0 0 0 0 0 5 9.259259259 No error messages for incorrect arguments. Use methods, there is only one giant main method. Also add new lines after statements. Your code looks cluttered. Output is not at all as specified in the spec. I tried correcting it but couldn't.
24744433 2 2 4 2 8 8 2 4 2 2 2 2 0 6 46 85.18518519 The stack numbers being displayed is incorrect, Test Case 18 should draw but Green wins.
24748072 2 2 3 1 6 4 0 2 2 0 2 2 0 3 29 53.7037037 Correct your formating, check your logic also piece appear out of position many times
24751782 2 1 4 2 10 4 0 4 0 0 2 2 1 4 36 66.66666667 Program excepts 2 command line arguments. Lots of run time errors, be careful how you referencing substrings and arrays. Try first asking the length before referencing an index that doesn't exist.
24757942 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Very nice project. Keep it up
24758477 2 2 3 2 12 4 0 4 0 2 2 2 2 4 41 75.92592593 Lots of IndexOutOfBounds exceptions, this means you referencing indices that don't exist in your arrays. Try verifying the length first before you index. Do not leave commented out code in your submission without a valid reason
24764329 2 2 4 2 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Very nice project. Becareful when changing the name of your java file. The file name and "public class 'name' "... has to be the same. Also you program says 'Greens wins!' this should be 'Green wins!'
24764701 2 2 3 2 12 8 2 4 2 2 2 2 2 6 51 94.44444444 Very nice, pay attention to the formating rules, loose the full stop for 'No winner, input file needed' also no caps for wins when Blue/Green wins. Refactor your java file to your student number, remember that the class decleration will also have to change Remove commented out code in your submissions
24765120 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Very nice project.
24780650 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Very nice project.
24784001 2 2 4 3 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Very nice project. Just take not that your final board is being printed twice for the quit command.
24785636 0 0 No hand in
24790184 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Very nice project.
24791881 2 1 4 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Very nice project. Unfortunately the only issue is that your program accepts 2 command line arguments
24801682 2 2 4 3 0 0 0 0 0 0 0 0 0 0 11 20.37037037 None of the test cases passed, your format is also way off. Program crash many times for ArrayOutOfBounds. That means you referencing elements that don't exist.
24802336 2 2 4 3 0 0 0 0 0 0 0 0 0 0 11 20.37037037 All test cases resulted in ArrayOutOfBounds Exceptions. This means you referencing an index that does not exist. Remember that if an array is of length 3 the last index will be 2.
24810142 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Very nice project. Take care of how you comment, not every finds using comments to create headings or art(the excessive use of "/") appealing. However more importantly there are several inconsistancies in your tabs and spaces. Try using your IDE(Eclipse) to format your code before submission
24810800 0 0 Student does not even appear on SunLearn
24814415 2 1 4 2 12 8 2 4 2 2 2 2 2 6 51 94.44444444 Using java libraries instead of Stdlib, Pay attention to formatting loose the ":" for "Statistics external stacks blue player". Program does not throw error for 2 command line arguments
24815810 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 An overall good project. Coding style is good.
24817244 2 2 3 2 8 8 0 1 2 2 1 2 1 2 36 66.66666667 The main class was not the same name as the java file. Unused variable on line 445. Good code style except for the naming of functions, one should declare whether they are public, private etc. Used OOP(arraylists and class player). The final board for test cases 02 (value at r2, c2) and 03 (value at r2, c4) differ from the expected output. In test case 11, "invalid move" is printed out 3 times and the final board differs from the expected board. Test case 12 , there is a random "invalid move" in the output. The final board is repeated in test case 16. The third last board to be printed in test case 18 differs from the expected output. The output for test case 19 and 20 differ even though the result is correct. Test case 21 is wrong.
24817678 0 0 Student does not even appear on SunLearn
24821950 2 2 4 4 5 4 1 2 1 1 1 1 1 3 32 59.25925926 Submitted two folders with the same code. Marked the first code. Good code style except for the unused variables on lines 260, 261, 268 and 269 and unnecessary comments on lines 845 to 847. Difference in wording of statistics sentences from the expected output. Random "invalid move" and final board isn't correct for output for test case 04. Make sure that the wording, spacing and cases(upper or lower) of the words is exactly the same as the expected output. Also make sure that there isn't any extra output as is for test case 18.
24822191 2 2 4 4 12 8 2 3 2 2 2 1 2 6 52 96.2962963 Output for test cases 17 and 12 were not identical but it was correct. Take for example test case 12 where the blue player wins, the expected output is "Blue wins!", whereas for your output, it gives "Blue Wins!". Good code style exept for the unnecessary comments and the code seemed a bit compact when it came to spacing of functions.
24834424 2 2 4 3 6 4 1 3 1 1 1 1 1 3 33 61.11111111 Main class not named according to student number. The output differs by the missing word "the" for the Statistics message. Good code style except for unused variables on lines 371, 327, 319, and 379. Minimize the amount of comments to the beginning of functions and if some parts you might think need clarity. For example, the comment on line 351 is not needed.
24836397 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1.851851852 Student did not code a lot. Stopped at trying to create an empty board. Exceptions were thrown. Student did not add the In.java file and made errors when creating the In object and calling functions from the In class.
24845213 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Good work and code style. Be careful of using unchecked or unsafe operations.
24854840 2 2 4 4 12 6 2 4 2 2 2 2 2 6 52 96.2962963 Good work and code style. Be careful of using unchecked or unsafe operations. Submission of onlyt the src folder is needed. In test case 09, the final board is different from the expected final board. Your code seems to move the B1 piece again instead of once.
24870218 2 2 4 3 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Student did not rename the main java file. Other than that the work is good!
24870595 2 2 4 4 4 4 1 2 1 1 1 1 0 3 30 55.55555556 A few comments that need to be removed. Output of board is missing the vertical bars, take care of spacing in output and placing of the "invalid move". An string index out of bounds exception is thrown for test case 05 with the problem stemming from line 662 of your code. Take care of upper or lower case letters in the output. In test case 18, a draw is supposed to happen, but your code concluded that blue should win. There are random 1s and 4s being printed after the board is printed, please fix that.
24873780 2 2 4 4 4 3 1 3 1 1 1 2 2 1 31 57.40740741 Please don't add .class files in the final folder. Please don't add files that are not needed to run your program like the Main.java file. Remove unnecessary comments like those on lines 328 to 340. An extra final board was printed out for test cases 1,3, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 19, 20 and 21. For test cases 02 and 04, the final board was wrong. And for test cases 09, 19 and 21, the "invalid move" statement was missing.
24873993 0 0 No submission.
24889520 0 0 3 0 0 0 0 0 0 0 0 0 0 0 3 5.555555556 The file cannot take in command line arguments. A no class def found error is thrown for each test case. Please put your files to be submitted in the src folder. Inconsistent placing of the curly brackets for functions, some statements (for example on line 96, the if statement should start a few more tab spaces in the while loop)and comments. Comments are better placed before the statement your making a comment on.
24896519 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Good work and code style.
24903078 2 2 4 4 10 8 2 4 2 2 2 2 2 4 50 92.59259259 Good work and code style, a few test cases failed (test case 02 and 19, the boards differ from the expected output). Please submit your plagarism form as a pdf file next time.
24906263 2 2 4 4 12 7 2 4 2 2 2 2 2 6 53 98.14814815 Do not include class files and testing files (the input files) in submissions. Good code and work! Pay attention to the exact expected output. Things such as upper and lower cases of letters, spacing ,etc .
24913693 2 2 4 4 4 1 0 0 1 0 1 1 1 0 21 38.88888889 Null pointer exceptions thrown for test cases 06, 07, 09, 11, 12, 13, 15, 20 and 21. Some of the boards for the test cases were output correctly but overall, there were no statistics for any test case.
24914665 2 2 2 2 10 4 0 4 0 2 2 2 2 2 36 66.66666667 Good work. You're on the right track for the final handin. You failed some test cases for not stating "No winner, input file ended". Aslo please remove the unnecessary print on line 508.
24916110 2 2 2 4 0 0 0 0 0 0 0 0 0 0 10 18.51851852 Complies with warnings and all test cases gave "java.util.EmptyStackException". You submitted a plagiarism.java file? Not your actual plagiarism decleration.
24919500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Nothing submitted.
24920517 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 I mean.. well done!
24923273 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1.851851852 No .java files submitted, only .class.
24925330 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 3.703703704 Program does not go to text mode, but rather wants the user to give input which does not work for testing.
24930741 2 2 1 4 0 0 0 0 0 0 0 0 0 0 9 16.66666667 Unfortunately you get "java.lang.ArrayIndexOutOfBoundsException" for all test cases.
24931330 0 0 Could not find the student under first handin
24934216 2 2 3 2 0 0 0 0 0 0 0 0 0 0 9 16.66666667 Please follow the guidelines on how to submit and format the folder you are zipping. You don't show any statistics and therefore fail all test cases unfortunately. Do not submit .class files.
24945234 2 2 2 0 12 8 2 4 2 2 2 2 2 6 48 88.88888889 Please note that a java file cannot start with a numerical number, hence why you should have named it SU<number>, not having the right naming conventions will lead to your code not compiling. Invalid move is with a small "m" and not a capital. You print one board extra at the end of each file which should not be done. If you print the winner, please only use one "!" and not "!!". Other than this, good work and your're on the right path for the final handin.
24945242 2 2 3 0 12 8 2 4 2 2 2 2 2 6 49 90.74074074 Please follow the naming convention for your submission and do NOT use packages for your submission, this causes your code to not compile in some other environments, example mine. You did not submit your plagiarm. Other than that, good job and well done!
24951579 2 2 2 2 8 8 2 4 2 0 2 2 2 4 42 77.77777778 Good work! Just some failed test cases here and there, a common mistake was that you printed "Stack 2: G2 G3 G4" instead of "Stack 2: G1 G2 G3 G4" if that helps. Please refrain from submitting with packages used.
24954055 2 2 2 4 10 8 2 4 2 2 2 2 2 6 50 92.59259259 Great work! Nice java docs here and there.
24954136 0 0 2 2 12 8 2 4 2 2 2 2 2 4 44 81.48148148 Please don't hardcode the filepath. You will receive zero for your final submission if you do this (line 63). Other than that, well done! Test case wise you did really well.
24956716 2 2 3 0 12 8 2 4 2 2 2 2 2 6 49 90.74074074 Please include In.java in your next submission, without this your code does not compile. But, when I added this you passed with flying colors, well done!
24957348 0 0 Could not find the student under first handin
24959049 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Near perfect!
24962775 2 2 0 0 0 0 0 0 0 0 0 0 0 0 4 7.407407407 You have to give your class and .java file the same name otherwise it does not compile. e.g you gave your class the name Project with SU24962775.java as filename. Nothing done besides declaring stacks and printing int values.
24964522 0 0 1 1 0 0 0 0 0 0 0 0 0 0 2 3.703703704 Did not implement anything.
24965456 2 2 4 4 10 8 2 4 2 2 2 2 2 4 50 92.59259259 Almost all test cases perfect, had a | between c1 and c2, was lenient about it
24969176 2 2 2 2 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Does not compile, marked where I could. Some lines seem odd for 1st year (289 for example
24971065 2 2 1 3 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Does not compile, did not implement anything.
24986755 2 2 4 2 10 8 0 0 2 2 0 2 2 4 40 74.07407407 Some test cases failed due to stack being in odd order
24995959 2 2 4 4 0 0 0 0 0 0 0 0 0 0 12 22.22222222 Prints info before game is played, did not use StdIn correctly
25000276 2 2 4 3 0 0 0 0 0 0 0 0 0 0 11 20.37037037 Does not compile, no method isBlank()
25011405 2 2 4 1 8 8 2 4 2 2 0 2 2 4 43 79.62962963 Fixed compilation errors, some cases prints out extra information, No winner, input file ended prints a blank line before
25013106 0 0 Folder not found in all submissions
25013572 0 0 3 3 0 0 0 0 0 0 0 0 0 0 6 11.11111111 Does not compile, incorrect structure
25033743 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Perfect, except that "Invalid move" must be printed with a lower case 'm'
25034812 2 0 3 3 12 8 2 4 2 2 2 2 2 6 50 92.59259259 Near perfect! Printed which move was invalid aka "Invalid move4"
25040863 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 All test cases correct, but output is a bit odd. Always printed r1 and spaces between | and __
25051911 0 0 4 3 0 0 0 0 0 0 0 0 0 0 7 12.96296296 Does not compile, forgot to include In.java. Did not finish implementation
25057359 2 0 4 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 No usage printed when incorrect arugments are given. Otherwise perfect!
25063057 0 0 Folder not found in all submissions
25069837 2 2 4 4 12 8 2 4 2 2 2 2 2 6 54 100 Perfect, perfect, perfect! Just a little less comments. A more general description of a method is easier on the eyes
25076965 0 0 Folder not found in all submissions
25082337 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 No submission
25088475 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 No submission
25092243 2 2 3 3 0 0 0 0 0 0 0 0 0 0 10 18.51851852 Class and file names not the same. Stacks were displayed in reverse order. Style good, but with some odd alignment and tabs in places.
25115510 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 No submission. Only unsigned plagiarism declaration.
25120840 2 0 3 4 12 8 2 4 2 2 2 2 2 6 51 94.44444444 No error message for incorrect arguments. It is convention to declare class variables at the top of the class and for methods to start with lower case letters. Otherwise, excellent work.
25122142 2 0 3 3 10 8 2 4 2 2 2 2 2 4 46 85.18518519 No error message for incorrect arguments. Imperfect formatting in several places, but I fixed these (spelling of output, some blank lines missing)
25134957 2 2 3 3 12 6 0 4 2 2 2 2 2 6 48 88.88888889 Most of the answers are correct, although the formatting is completely off for the statistics section (B1 G1 is printed next to each for example instead of below each other)
25156640 2 2 2 4 12 8 2 4 2 2 2 2 2 6 52 96.2962963 Not much to say, the program works perfectly. There was a big chunk of commented out code which was the only issue (even if it is for the later submission, remove it in the copy you are submitting)
25179128 0 0 2 3 0 0 0 0 0 0 0 0 0 0 5 9.259259259 Does not compile, with multiple errors regarding missing or undeclared variables.
25183656 2 2 0 4 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Format is wrong in the statistics section. Also your class name and file name does not match up. I had to change it for the program to even compile.
25214012 2 2 0 4 12 8 2 4 2 2 0 2 2 6 48 88.88888889 Class name and file name was not the same. I had to rename it to compile. Other that the only issue was with the Quit Command test case, were additional output was given.
25227726 2 2 0 4 4 4 2 4 0 0 0 2 2 2 28 51.85185185 Class name and file name was not the same. I had to rename it to compile. For many cases the program simply does not play the game correctly.
25246151 2 2 3 4 12 6 0 4 2 2 2 2 2 6 49 90.74074074 Submission included random configuration folders (__MACOSX) and files (.DS_Store) unrelated to the code and project. Some commented out code. Other than that the program works well only 2 wrong cases.
25278088 0 0 3 4 0 0 0 0 0 0 0 0 0 0 7 12.96296296 Does not compile. Some wrong indentations in the code.
25310313 2 2 3 4 12 8 2 4 2 2 2 2 2 6 53 98.14814815 Some commented out code, but other than that, perfect.
25348639 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 No Submission
25349236 2 2 3 3 12 8 2 4 2 2 0 2 2 6 50 92.59259259 Some commented code out code. Additional samples folder present with handin. Code works excellently, only wrong thing is that it prints "No winner, input file ended" when the quit command is called.
25378961 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Handed in an incomplete project by simply copying the visual studio or eclipse project folder. No valid SU25378961.java file and the project even if it did compile does not relate to 1st handin at all.
25379798 2 2 2 4 0 0 0 0 0 0 0 0 0 0 10 18.51851852 Style: No comments, inconsistent indentation, lots of unnecessary open lines. However there was consistent convention regarding opening and closing braces and fairly descriptive names. Code: Your code failed all the test cases, because for the first move you play B1 and every move after that your program just plays a G1 even when this should not be the case. Your program also never outputs game statistics. For many of the test cases your program also breaks and throws errors, because it tries to read from the file after the end of the file has been reached. It does not seem like you tested your program before submitting it. For the final submission, make sure that you test that your program works the way you think it works.
25386263 2 2 1 2 0 0 0 0 0 0 0 0 0 0 7 12.96296296 Style: Inconsistent indentation, no comments, good consistent convention for loops and ifs, fairly descriptive naming convention. Still had a lot of commented out code. Handin format: Your zip folder should not have SU in front of your student number, your java file was Main.java instead of <student number>.java and your plagiarism form was name ahahhah.pdf, which is unacceptable. In cases where marking is automated, you would have gotten zero, because you didn't follow the specified naming convention. These are easy marks to get with minimal effort, so you should try to follow the specification. Code: You failed all the test cases, because for most of the test cases your program broke completely. This was due to your program trying to read integers after the file had ended. What caused this was that you only read three integers per move, irrespective of what the move is. This is incorrect, seeing as certain moves have more than three integers per line, this lead to your program bombing out, because it read part of one move as part of the next. Another thing was that you only output the board at the very end of the game, which is incorrect. The spec clearly states that the board should be output after every move. You also never output the game statistics as required by the spec.
25400800 2 2 3 4 12 8 2 4 2 2 0 2 2 6 51 94.44444444 Style: Very good style, just be careful of too large spaces between segments and also you should not leave commented code in your submission like the code for the final submission. Code: When a player quits the game, you should not output the No winner, input file ended line. Overall very good work.
25413996 2 2 3 2 0 0 0 0 0 0 0 0 0 0 9 16.66666667 Style: Overall very good style, there was just some inconsistent indentation with the very nested loops and conditionals. Handin format: You should not submit your bin folder with the compiled files and you should also not submit your IDE files, such as .classpath, .project and .settings. Your In.java file was still empty, you should make sure that all the files are correct. Otherwise the handin format was good. Code: Unfortunately you failed all of the test cases due to your statistics section having multiple errors. In the green section you still print blue peices, i.e. instead of G1, you will print B1. Then your external stacks are also printed incorrectly, you update your stacks incorrectly by removing the largest piece and not the smallest piece. So for example if it should be B2, B3, B4 you would have B1, B2, B3. I spent some time fixing your code for these errors to see how the rest goes, but your statistics section that prints your board stacks also breaks for some cases. Instead of printing for example G1 G2 B3 B4, your code will output G1G1G1G1. For future submissions, I suggest that you test your code and make sure that it outputs exactly what you expect it too. If you can fix these bugs you will do much better in the final submission. A hint would be to start your for loops for the external statistics at 4 - blueStack[0] for example and to have it stop at 4. You can also fix the wrong colour problem by simply replacing the B with a G in the green section loops.
25438654 2 2 2 2 12 8 2 4 2 2 0 2 2 6 48 88.88888889 Style: Good style, good comments, consistent convention followed, good naming convention, slightly inconsistent indentation for small parts of code, also Test function is not used, you should not keep redundant functions in code that you submit, you should also remove commented out code for your submissions, such as the code for the final submission which is commented out in your submission. Handin format: For future handins, when making a zip folder, first put all the files you want to submit into a folder and then zip that folder, don't just zip all the separate files, because when they are then extracted they are all loose and not in a folder. I did not penalize you for this, but in future you could lose marks for something like this. You also lost formatting marks, because in the statistics line you output 'Statistics external stack green player', but it should be 'Statistics external stacks green player'. Be very careful for mistakes like this, because for automated marking, you would have lost all your marks. Test cases: After I changed your line to 'Statistics external stacks green player', you passed all the test cases, except for the test case where a player quits. When a player quits, you output the board again, which you should not do.
25455753 0 0 No submission
25529617 2 2 3 2 12 8 2 4 2 2 2 2 2 6 51 94.44444444 Style: Good naming convention, be careful not to comment too much. Good convention followed overall, but slightly inconsistent indentation. Also don't leave commented out code in your submissions, such as the code for the final submission. Handin format: You lost a few unnecesary marks here. The submission specifically asks for .zip folders, so please do not submit .rar files, this makes it difficult to mark your project and could have led to you losing a lot of marks if marking was automated. Also don't include files from stdlib that you do not use. For example StdDraw3D leads to your submission not compiling correctly, which is unnecessary, because you do not use StdDraw3D. Code: Your code was very good, nice separation of concerns with the various functions, you passed all the test cases.
24754005 0 0 No submission
24728667 2 2 1 3 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Style: Lots of commented out code left in submission, inconsistent indentation, inconsistent convention regarding opening and closing braces of conditionals and loops. Fairly descriptive naming convention. Handin format: Your zip folder was named incorrectly, it should have been your student number. Pay attention to details such as this, because in future it could cost you a lot of marks if automated marking is used. Code: Your project failed all the test cases, because your statistics section did not contain any information on the stacks present on the board. Your program also didn't output information such as for example that a player quit, that a player won or that the game had ended without any player winning. It is crucial to make sure that your output is correct and to ensure that you follow the specification. For computer science projects in general it is of utmost importance to test your project and to make sure that your output is exactly as the specification requires it to be.
25837281 2 0 2 3 0 0 0 0 0 0 0 0 0 0 7 12.96296296 Style: Inconsistent indentation, very very few comments, there is still old commented out code in the submission. However, the naming is fairly descriptive and generally a consistent convention was followed. Handin format: There was no zip folder Code: You statistics were completely incorrect. You output the blue player's statistics in the green player's section and the green player's statistics in the blue section. For both of these sections, pieces are also displayed in the wrong order for example you output B4 B3 B2 instead of B2 B3 B4. The statistics for the board in general are also wrong most of the time. It is really important to make sure that you follow the specification and required output format. The first thing you should focus on in general for computer science projects is to ensure that your output is correct, seeing as this is what will be evaluated to determine if your project is correct.
25255843 0 0 No submission
25018957 2 2 2 2 0 0 0 0 0 0 0 0 0 0 8 14.81481481 Style: There is a lot of commented out code, you should remove this for submissions. There is also some large open spaces for no clear reason. Here and there, there is some wonky indentation, but overall good indentation and convention was followed. Handin format: You did not have In.java in your submission, which makes it impossible to run your code without including In.java myself. Your zip also has SU in front of the student number, which it should not, if marking was automated this would have cost you a lot of marks. Test cases: You failed the test cases for various reasons. Your program didn't output any statistics for the board, your program seems to only display the board after every second move and for the green player you play pieces from the wrong external stack and then update multiple external stacks. It is very difficult to see if your game actually works seeings as the output it generates is very faulty, but it looks like you will pass some of the test cases if you fix the output. You also never output the line: 'No winner, input file ended'. I suggest that you work through the provided sample test cases or even create some of your own test cases and work through your code to find what is going wrong.
60.04050926