Skip to content

farice9/ip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duke project template

This is a project template for a greenfield Java project. It's named after the Java mascot Duke. Given below are instructions on how to use it.

Setting up in Intellij

Prerequisites: JDK 11, update Intellij to the most recent version.

  1. Open Intellij (if you are not in the welcome screen, click File > Close Project to close the existing project dialog first)
  2. Set up the correct JDK version, as follows:
    1. Click Configure > Structure for New Projects and then Project Settings > Project > Project SDK
    2. If JDK 11 is listed in the drop down, select it. If it is not, click New... and select the directory where you installed JDK 11
    3. Click OK
  3. Import the project into Intellij as follows:
    1. Click Open or Import.
    2. Select the project directory, and click OK
    3. If there are any further prompts, accept the defaults.
  4. After the importing is complete, locate the src/main/java/Duke.java file, right-click it, and choose Run Duke.main(). If the setup is correct, you should see something like the below:
    Hello from
     ____        _        
    |  _ \ _   _| | _____ 
    | | | | | | | |/ / _ \
    | |_| | |_| |   <  __/
    |____/ \__,_|_|\_\___|
    

Progress Log - AY20/21 Y2S1

Week 2

  • Added Duke's skeleton greeting function
  • Kept the original Duke logo print code in the commit
  • Pushed to github

Week 3

Level 1

  • Implemented greet, echo and exit functions to the bot
  • The bot will repeat what the user inputs and exit when user says "bye"

Level 2

  • Implemented adding commands and list commands function
  • The bot can store user's input and prints them out when requested

Level 3

  • Introduced a new Task class
  • Implemented a mark tasks as done function
  • Listing now shows if the task is done/not done
  • Added extra checks so that commands in upper-case are accepted as well
  • Added extra checks to ensure the "done" parameter inserted by user is legible

About

Duke, the interactive task manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Java 96.6%
  • Shell 2.0%
  • Batchfile 1.4%