Duke is an anime girl on your computer a simple chatbot that helps you track your tasks and whether you've completed them.
You can get Duke on your computer by downloading the latest .jar file under releases.
As Duke was developed on JDK 11, and as such it's recommended that you have Java SE 11 or later installed on your computer before running Duke.
Alternatively, you can clone the repo. Then from the root folder, execute the command:
gradlew run
You can add and delete tasks from a list.
Each task can be classified as a todo, deadline or event task.
Duke can sieve through your list to return only the relevant tasks.
Duke can remember any tiny bit of trivia you tell her.
Duke will create a new Todo Task and store it within its memory.
Example usage:
todo eat borgar
Expected outcome:
Gotcha! I've added a new task:
[T][✘] eat borgar
You've got 1 task(s) on your list.
Duke will create a new Deadline Task and store it within its memory.
You may specify either a date or a time, in any order. This must be pre-fixed by a /by
subcommand.
Example usage:
deadline eat borgar /by 10/10/2020
deadline eat borgar /by 10/10/2020 2359
deadline eat borgar /by 2359 10/10/2020
Expected outcome:
Gotcha! I've added a new task:
[D][✘] eat borgar (by 10/10/2020)
You've got 1 task(s) on your list.
Gotcha! I've added a new task:
[D][✘] eat borgar (by 10/10/2020 2359)
You've got 2 task(s) on your list.
Gotcha! I've added a new task:
[D][✘] eat borgar (by 10/10/2020 2359)
You've got 3 task(s) on your list.
Duke will create a new Event Task and store it within its memory.
The input dates should be pre-fixed by an at
.
You may enter up to two pairs of date-times. The two dates should be split by a to
.
Example usage:
event eat borgar /at 16/9/19
event eat borgar /at 16/9/19 to 16/9/20
event eat borgar /at 16/9/19 0000 to 16/9/20 2359
Expected outcome:
Gotcha! I've added a new task:
[E][✘] eat borgar (at 16/09/2012)
You've got 1 task(s) on your list.
Gotcha! I've added a new task:
[E][✘] eat borgar (at 16/09/2012 to 16/09/2013)
You've got 2 task(s) on your list.
Gotcha! I've added a new task:
[E][✘] eat borgar (at 16/09/2019 0000 to 16/09/2020 2359)
You've got 3 task(s) on your list.
Duke will return the entire list.
In this example, 3 tasks were already stored in Duke's internal list.
Example usage:
list
Expected outcome:
1.[T][✘] eat borgar
2.[D][✘] eat borgar (by 2359)
3.[E][✘] beat orgar (at 17/09/2019 1359)
Duke will return only the parts of the list that match the keyword.
Example usage:
find beat
Expected outcome:
Scan complete! I've got your tasks right here!
3.[E][✘] beat orgar (at 17/09/2019 1359)
Duke will mark the Task a the specified index as done.
Example usage:
done 3
Expected outcome:
Good job! I've marked this task as done:
[E][✓] beat orgar (at 17/09/2019 1359)
Duke will delete a Task.
Example usage:
delete 3
Expected outcome:
No problem! I've deleted the task:
[E][✓] beat orgar (at 17/09/2019 1359)
You've got 2 task(s) on your list.
Duke will delete all Tasks.
Example usage:
nuke
Expected outcome:
Boom! I've deleted all your tasks!
Duke will store a new note in its memory.
Example usage:
note McBorgar > borgarking
Expected outcome:
Gotcha! I've added a new note:
McBorgar > borgarking
You've got 1 note(s) on your list.
Duke will return the entire list.
Example usage:
notelist
Expected outcome:
1. McBorgar > borgarking
Duke will delete the note at the specified index.
Example usage:
deletenote 1
Expected outcome:
No problem! I've deleted the note:
McBorgar > borgarking
You've got 0 notes on your list.
Duke will delete all notes within the list.
Example usage:
nukenote
Expected outcome:
Boom! I've deleted all your notes!
Duke will shut down, after saying goodbye.
Example usage:
bye
Expected outcome:
Alright, see you again!
Good luck, and do your best!
- Damith C. Rajapakse - Module Coordinator
- Cheng Geng - Developer of Duke
- Gradle: for dependency management
- People on StackExchange who asked the same questions as me on 5 years ago
- People on StackExchange who answered those questions 5 years ago
- Japan, for creating anime
- Philip II of Spain, whose decisions to go to war against the English led eventually to the creation of anime
- And you!