Skip to content

HakkaNgin/ip

 
 

Repository files navigation

Introducing Pixel -- your new chatbot to manage tasks

“Sometimes it is the people no one can imagine anything of who do the things no one can imagine.” ― Alan Turing (Source)

This is a greenfield Java project for the NUS Computer Science module CS2103 Software Engineering.
strikethrough


Pixel frees your mind of having to remember things you need to do.

Benefits of using Pixel:

  • Text-based
    • You just need to follow the prompts and type down the instructions
      • Very fast!
  • Easy to use!

All you need to do is,

  1. download it from here.
  2. double-click it.
  3. add your tasks.
  4. let it manage your tasks for you 😉

And it is FREE!

Features:

  • Managing tasks (add/ delete/ find tasks)
  • Managing deadlines
  • Marking tasks as done/ unmark tasks
  • Reminders (coming soon)

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

If you Java programmer, you can use it to practice Java too. Here's the main method in the class Pixel:

public static void main(String[] args) {
  Pixel test = new Pixel("C:/!Education/CS2103/gitFolderOne/data/pixel.txt");
  System.out.println(UserInterface.GREETING_MESSAGE + UserInterface.PROMPT_MESSAGE);
  test.run();
}

Greeting message:

Hello! I'm Pixel! 
You can input the following commands 
todo/ event/ deadline + <task description> + /by or /at + <due> 
***date format for due has to be in <yyyy-MM-dd(SPACE)HHmm(24h)> format 
list -- lists out all the tasks 
mark <index of task in the list> -- to mark as done 
unmark <index of task in the list> -- to mark as not done 
delete <index of task in the list> -- to delete that particular task 
find <query> -- Find all tasks with description containing query 
end -- leaves the chatbot and closes the programme 
  Your input: 
  

Previous Instructions

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 first)
  2. Open the project into Intellij as follows:
    1. Click Open.
    2. Select the project directory, and click OK.
    3. If there are any further prompts, accept the defaults.
  3. Configure the project to use JDK 11 (not other versions) as explained in here.
    In the same dialog, set the Project language level field to the SDK default option.
  4. After that, locate the src/main/java/Duke.java file, right-click it, and choose Run Duke.main() (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
    Hello from
     ____        _        
    |  _ \ _   _| | _____ 
    | | | | | | | |/ / _ \
    | |_| | |_| |   <  __/
    |____/ \__,_|_|\_\___|
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.0%
  • Shell 1.7%
  • Batchfile 1.3%