From ecb28155a6afcbe4c50ebe8e6bc112ff884af48a Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Tue, 1 Aug 2023 01:01:56 -0500 Subject: First commit --- notes/what_i_want_time_to_look_like.txt | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 notes/what_i_want_time_to_look_like.txt (limited to 'notes/what_i_want_time_to_look_like.txt') diff --git a/notes/what_i_want_time_to_look_like.txt b/notes/what_i_want_time_to_look_like.txt new file mode 100644 index 0000000..fc71b14 --- /dev/null +++ b/notes/what_i_want_time_to_look_like.txt @@ -0,0 +1,40 @@ +where the first place after the letter of the day of the week is lit up if the building is open right at or before the time 0000 AND is open at least one minute past 0000, if the building opens up from 0001 - 0029 it will not show up until the second spot after the day of the week for the 0030 spot + +COOVER HALL +M-------------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---- +T-------------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---- +W-------------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---- +R-------------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---- +F-------------@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@---- +s------------------------------------------------ +S------------------------------------------------ +0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 24 + + +HOOVER HALL +M___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +T___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +W___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +R___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +F___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +s___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +S___________@@@@@@@@@@@@@@@@@@@@@@@@@@@@@________ +0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 24 + +start = 700, end = 2200 +start = 700, end = 2200 +start = 700, end = 2200 +start = 700, end = 2200 +start = -1, end = -1 +start = 1230, end = 1800 +start = 1230, end = 1800 + +is converted to: +if end time is lower than start time, go to the next day and modify its string as necessary +might be best to find the first and last places to print a @ then use a loop to print a @ in between + +monday: start at 7 am, go to 10PM if 10 pm (2200) is greater than 7 am (0700) (it is) then find the +for every hour, multiply it by two example: 10PM (2200) is 44 places into the array +so take 2200 / 100 = 22, now take that 22 and multiply it by 2 = 44 +take the 22 and multiply it by one hundred and store in another variable, this way it loses all minutes associated with it, now subtract it from the original number, if the number is greater than 0, then add 1, if it is greater than 30, add another 1 +add one for a number in the minutes column between 01 and 29 and add two for a number between 30 and 59 -- cgit v1.2.1