PA4 Results File Explanation ---------------------------- If you submitted a program and it assembled, your results file should look something like the following: Grading for student: your_email@ece.utexas.edu | Expected | Student |Num Num |Num Bad Correct False False Game Inputs Pts |Board Win Invalid|Board Board Win Invalid Invalid Valid --------------------------- ----|----- --- -------|----- ----- --- ------- ------- ----- This is what it all means for each test: 1. Game Inputs - the input moves to the game 2. Pts - the number of points you received (each test was worth 10 pts) Expected (i.e. the correct results) 3. Num Board - the number of times the board should have been printed out 4. Win - the winner of the game (Player 1 or Player 2) 5. Num Invalid - the number of invalid moves in the Game Input (i.e. the number of "Invalid move" messages that should be printed) Student (i.e. your results) 6. Num Board - the number of times you printed the board (NOTE: points were not taken off for displaying the empty final game board) 7. Bad Board - the number of boards you printed that did not match the expected game board. 8. Win - who you said was the winner of the game (NOTE: 0 here means that we did not find a winner message in your output) 9. Correct Invalid - the number of times you correctly identified an invalid input 10. False Invalid - the number of times you said a move was invalid when it was really valid 11. False Valid - the number of times you said a move was valid when it was really invalid For each set of input moves we: 1. Load the program. 2. Apply the moves, which should make the program halt because they complete a game of nim. 3. Reset the PC to x3000 without reloading the program. 4. Apply the same moves again. The second use of each set of moves is identified with with an "(R)". We did not take points off for failing this second test, but would like you to know that a well written program will also work when the PC is reset to x3000 (the program is not re-loaded). We repeat the same tests with the machine pseudo-randomized and we average the grades: 80 % for the tests with a clean machine and 20% for the tests with the pseudo-randomized machine. If you got an "Error running program" message, then we had some kind of problem when we tried to run your program (for example, it kept printing out invalid messages or displaying boards without stopping). If the student results section is all zeros, this is another indication that we had a problem when we tried to run your program (for example, you were waiting for keyboard input when there was none, causing your program to eventually time out). This was stated in the program statement, but is worth repeating here: the player was NOT required to press ENTER after typing in a move. Your program should have worked such that as soon as the player types the second character, your program continues on and either displays an invalid message or updates the board. If your program expected the user to press ENTER at any point during the game, then your program probably did not work correctly with our grading process. If you have questions about the grading of your program, please be sure that you have carefully read the above information BEFORE contacting the grader. Thanks.