Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

PSET 2

In this problem set you're going to expand the functionality that you wrote in your Mario java program.

Your goal is to offer the user the option of printing Mario to the console OR to a text file.

What to do:

  • Refactor your existing Mario to use proper Java packages. Open your project in an IDE (preferably Intellij IDEA)
  • Check out the following video on how to create a Java project in under 4 minutes
  • Implement the functionality mentioned in the summary. When complete, commit and push to your repository.
  • You should notice that your code has lots of if statements... we're going to get rid of those by using the Strategy Design Pattern
  • Watch the video Strategy Design Pattern in Java
  • Use the Strategy Design Pattern to make your code clean and awesome.
  • When you're done, send me an email by using the email address on my Profile Page