
Yes! The power of Ran Yakumo, from the hit video-game series Touhou Project, in the chassis of your computer. Yukari Yakumo has agreed to loan out a tiny portion of her beloved Shikigami’s power towards making a chatbot. Harness a small percentage of Ran’s intellect to help you manage your day-to-day tasks!
17 installed on your computer.ran.jar file from here.ran.jar is installed, and relocate it to whichever directory you please.Terminal on Linux and MacOS, Command Prompt on Windows), and use the cd command to go into the directory of ran.jar, and run the command java -jar ran.jar to start the chatbot.help to get Ran to guide you).bye to terminate the Ran chatbot.Ran waits for you to type an input and hit the enter key, and proceed to interpret it as a command. If your input is formatted badly, Ran might be unwilling to follow through. Try your best to follow the format given with each type of commands!
bye and Bye would work for examplebye, help), all input after the base command is ignoredtodo command, replace the [DESCRIPTION] in the format with whatever you want to typedead line Math homework /b y Friday is considered an invalid commandRan will show your added tasks in this format: [ ][ ] description (optional-time)
[ ] represents the type of the task, using a letter within the square brackets:
T stands for a Todo taskD stands for a Deadline taskE stands for an Event task[ ] shows if the task is done or not
X within the square bracket indicates the task is marked as donehelpReceive a help message from Ran.
Format: help
todoAdd a Todo task to the list of tasks.
Format: todo [DESCRIPTION]
Example: todo Water the plants
Expected Output:
____________________________________________________________
Understood, I have noted down the following task:
[T][ ] Water the plants
You currently have 1 task in your list.
____________________________________________________________
deadlineAdd a Deadline task to the list of tasks.
Format: deadline [DESCRIPTION] /by [DEADLINE]
Example: deadline Math homework /by Friday
Expected Output:
____________________________________________________________
Understood, I have noted down the following task:
[D][ ] Math homework (by: Friday)
You currently have 3 tasks in your list.
____________________________________________________________
eventAdd an Event task to the list of tasks.
Format: event [DESCRIPTION] /from [START-TIME] /to [END-TIME]
Example: event Music festival /from 29/5/2024 /to 5/5/2024
Expected Output:
____________________________________________________________
Understood, I have noted down the following task:
[E][ ] Music festival (from: 29/5/2024 to: 5/5/2024)
You currently have 6 tasks in your list.
____________________________________________________________
listList out all of the tasks currently in the list.
Format: list
Possible Output:
____________________________________________________________
Here's what you have so far:
1.[T][ ] Water the plants
2.[T][ ] Play guitar
3.[D][ ] Math homework (by: Friday)
4.[D][ ] Physics homework (by: Thursday)
5.[T][ ] Feed cat
6.[E][ ] Music festival (from: 29/5/2024 to: 5/5/2024)
7.[D][ ] Chemistry homework (by: Friday)
____________________________________________________________
markMark the task as done from the list of tasks at a specified index.
Format: mark [INDEX]
Example: mark 5
Possible Output:
____________________________________________________________
Excellent! I've marked this task as done:
[T][X] Feed cat
____________________________________________________________
unmarkUnmark the task (set as not done) from the list of tasks at a specified index.
Format: unmark [INDEX]
Example: unmark 5
Possible Output:
____________________________________________________________
Sure, I've marked this task as not done yet:
[T][ ] Feed cat
____________________________________________________________
deleteDelete the task from the list of tasks at a specified index.
Format: delete [INDEX]
Example: delete 2
Possible Output:
____________________________________________________________
Noted. I've removed this task:
[T][ ] Play guitar
You currently have 6 tasks in your list.
____________________________________________________________
findFind tasks from the entire list of tasks that contain a keyword/phrase.
Format: find [KEYWORD/PHRASE]
Example: find homework
Possible Output:
____________________________________________________________
By separating the boundary between the haves and have nots,
here's what I managed to find:
1.[D][ ] Math homework (by: Friday)
2.[D][ ] Physics homework (by: Thursday)
3.[D][ ] Chemistry homework (by: Friday)
____________________________________________________________
byeTerminate the Ran chatbot.
Format: bye
Expected Output:
____________________________________________________________
Farewell. May we meet again!
____________________________________________________________
Ran automatically saves all your tasks in a text file.
In the directory that Ran chatbot is started up, a data directory is created,
with a ran.txt text file within to backup your entire list of tasks.
If such a text file in the correct directory already exists,
then Ran will read from it and load all the saved tasks.
More advanced users may want to tinker with the file to manually modify their tasks, but care must be taken to ensure that the format of the file is followed. Advanced users may also keep this text file as a backup, and run Ran on another computer with this backup.
This is a fan-made derivative work of the Touhou Project. All Touhou Project characters mentioned belongs to ZUN (Team Shanghai Alice). Touhou Project fan creation guideline: here