Repository navigation
Viktor 1.0
Viktory
"It's not enough to give people what they need to survive. You gotta give them what they need to live." - Ekko (Arcane)
Are you...
- familiar with the hit netflix series Arcane?
- Riddled with too many things to do?
- Need a friend to gently (and sometimes, not so gently) remind you of all your deadlines?
Then I've got the solution for you!
- a chatbot like no other
- sarcastic yet efficient 🤩
- scalding yet funny 🙄
- sciencey like no other!
With MANY functionalities, like:
- Adding different types of tasks
- Marking them complete (or incomplete)
- Finding all tasks due on a certain date
- And more...
And if you're a computer science enthusiast curious about the behind-the-scenes stuff, this is a glimpse of what the code looks like:
public String execute() throws ViktorException {
if (taskNumber >= tasks.size()) {
throw new ViktorException("You're asking for the impossible! That task doesn't exist.");
}
tasks.getTask(taskNumber).beDone();
String response = "You've just finished " + tasks.getTask(taskNumber).getDescription()
+ "! True progress is still far away but a bit less further now!";
try {
Storage.save(tasks);
} catch (IOException e) {
System.out.println("Ah something must've gone awry: " + e.getMessage()
+ " Well, mistakes are but a part of progress.");
}
return response;
}