Work Time Advisor (Rincewind's Worklog)

A scheme creater to fuel programming. RSS Feed

Generating schemes

I've been laying out the large project structures of the Work Time Advisor project. I have a Sheet class that holds a list of AdviceActions and AdviceTimings. These can be shoven on a Sheet with a RuleSet that determines what should be on a Sheet with Java code (IF statements and lists for now). The Actions and Timings are part of the format of a day scheme.

For example:

9:00 - 10:00
Get out of bed.
Have breakfast.
Take tea.

10:00 - 13:00
Work on project.
12:00 Take tea.

13:00 - 22:00
Watch television.

22:00 Get in bed.


Here you can see the timing headers ("9:00 - 10:00"), and then the actions to undertake on a day.

When you run the program, you will start off with a question form. On this are questions to answer before being able to generate a day scheme for the next day.

For example:

[X] I got out of bed in time yesterday.
[ ] I managed to work where planned.
[X] I went to bed in time yesterday.

Then it could adjust the scheme of previous day to the scheme for the new day:

9:00 - 10:00
Get out of bed.
Work on project.

10:00 - 13:00
Work on project.
12:00 Take tea.

13:00 - 22:00
Work on project.

22:00 Have dinner.


This scheme for day 2 now holds more time to work on a project (skipping breakfast and tea), because I did not work hard enough the day before and filled this out on a form. A small day scheme can be generated already and outputted to the console. The program currently shows a black screen so far as I did not implement the user interface yet. I'll come to do this soon!
(Posted on January, 17th 2021, 16:41)

Comments

There are no comments.

Post New Comment

You must log in or register to post comments.

Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!