Hi There!

I'm Dan Schlegel, an Associate Professor in the Computer Science Department at SUNY Oswego

Assignment 7

In this final assignment you will add a feature of your choice to your game, polish everything nicely, and package your project as a jar file for distribution to your friends and family.

Part 1: New Feature

Add a new feature to your game. The feature should be fairly substantial and require changes to more than one of your classes. If you want to know if the feature you are considering is appropriate, feel free to ask. Ideally, you will choose one that you specified in the design portion of Assignment 5, but it doesn’t have to be one of those. Be sure to leave a document describing your new feature somewhere, along with the changes you made to implement it, so that I can try it out. Be sure to let me know where this document is!

Part 2: Polishing Everything Up

You should now get your game ready for ‘prime-time.’ In other words, be sure the messages the user receives are understandable and look good. Remove any debug output (like the contents of the XML file, or anything else like that you may have added that doesn’t have to do with the game). Be sure to test your game – play it for a bit and make sure you are happy enough with it that you wouldn’t mind putting it in front of some other people to play.

Part 3: Create a jar file

Enable your project to build jar files by following the directions at this page, specifically the section to “create an executable jar”.

Once you have a jar file, open a terminal and run: java -jar yourjarfile.jar. Your game should run! When you submit, submit your jar along with your source file. If you need a special xml file to go with it, be sure to submit that too and give some instructions on how to start the game. If we have time on the last day of classes, we’ll have a chance to play each others games!