Test Plan due Monday Tuesday 8 May at class time.
Completed program due Friday 11 May 11:59pm.
You must turn in your source electronically on Hornet using the handin
command by this deadline. Instructions are provided below.
No late submittals will be accepted!
~cs101-1/www/hobknob.exe
Object file for Hornet: cardlib.o (available on Hornet as ~cs101-1/www/cardlib.o)Do not write your own implementation of show_rank() and show_suit(). You must use the instructor's object files.
Object file for Windows: cardlib.o (available on Hornet as ~cs101-1/www/win/cardlib.o)
gcc cardlib.o hobknoblib.o hobknob.o
Object file for Hornet: hobknoblib.o (available on Hornet as ~cs101-1/www/hobknoblib.o)
Object file for Windows: hobknoblib.o (available on Hornet as ~cs101-1/www/win/hobknoblib.o)
| 5% | Test Plan provides minimum complete coverage |
| 10% | display_card_values() produces correct output.
|
| 10% | get_num_players()
returns the correct value for both valid and invalid inputs. |
| 10% | value_of_card() passes minimum complete coverage
test |
| 10% |
Game driver produces correct results for 1,2,3
& 4 player games. |
| 5% | Game driver properly handles invalid inputs for rank and suit. |
| 5% |
Program uses messages defined in header file
when needed. |
| 10% |
All components integrate properly. |
| 15% | Algorithm design uses structured logic for decisions and loops. |
| 15% | Coding standards are followed. |
| 5% | Clean compile (no warnings using the required compiler flags). |
Remember, your program will be tested on Hornet. Code that does not compile will receive a grade of zero.
You need to submit your source code electronically using the handin utility:
handin cs101-7 Program1 hobknoblib.c hobknob.c
handin cs101-7 Program2
~cs101-1/bin/countloc hobknob.c
~cs101-1/bin/countloc hobknoblib.c