Author Topic: Friday, 13th...  (Read 6573 times)

0 Members and 1 Guest are viewing this topic.

Offline ISSOtm

  • LV3 Member (Next: 100)
  • ***
  • Posts: 56
  • Rating: +4/-0
  • Programming or playing games I've programmed
    • View Profile
Friday, 13th...
« on: November 10, 2014, 09:07:11 am »
Hello guys, yesterday I was asked a very important question : "When will the next Friday, 13th be ? How many times will it occur next year ?"
I didn't know the answer, I didn't have any calendar near me, but I had my calculator...

So, there it is, FRIDAY 13 FINDER !
How it works :
  • Launch it  ;D
  • Enter today's date :
    • Select the number to change
    • Press Enter
    • Enter the new value
  • Select "Confirm"
  • Scroll the list with the left and right keys, hit Enter to validate
  • Press any key
  • Press any key to skip to next month, or Clear to quit.
And that's pretty much everything about it !

One known bug : when editing a value on the date screen, the display isn't updated, but internally it is.

Features to implement soon :
  • Limiting the day value as the months do
  • Adding an "Auto Scan" mode which only displays the affected months
Files coming tomorrow !
Programmer ("always start, never finish")

Currently owning :
 - TI 84+SE (crashed by zStart :P )
 - Computer for life



Voir aussi la version française.

Puzzle Master (if you hate mathemathics...)

Also on codewalr.us !

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Friday, 13th...
« Reply #1 on: November 10, 2014, 09:08:08 am »
Haha, sounds like a funny little fun idea ^.^
* Sorunome wonders if you take like leap years into account

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Friday, 13th...
« Reply #2 on: November 10, 2014, 09:41:48 am »
Nice and fun utility :D. I tried writing something like this once, but got stuck and forgot about it. Good to see you actually finished this :P
I'm not a nerd but I pretend:

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Friday, 13th...
« Reply #3 on: November 10, 2014, 11:26:11 am »
Hah I like this idea! Makes me think of this meme:
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline ISSOtm

  • LV3 Member (Next: 100)
  • ***
  • Posts: 56
  • Rating: +4/-0
  • Programming or playing games I've programmed
    • View Profile
Re: Friday, 13th...
« Reply #4 on: November 10, 2014, 01:07:10 pm »
Haha, sounds like a funny little fun idea ^.^
* Sorunome wonders if you take like leap years into account

Yes, they are taken into account. Both rules are respected :
Quote from: Wikipedia
Leap years are years that can :
  • either be divided by 4 but not by 100 ;
  • either be divided by 400.

It doesn't have a super graphical interface, but it is 1970 bytes large :P


Hah I like this idea! Makes me think of this meme:
<AD>
Wanna avoid this kind of dumb situation ?
Don't worry ! We have the perfect tool for you.
FRIDAY 13th FINDER ! Serial killer's best friend.

For two bought, one chainsaw is offered ! Limited offer !
</THIS AD WAS PRODUCED BY ISSO Corp.>
Programmer ("always start, never finish")

Currently owning :
 - TI 84+SE (crashed by zStart :P )
 - Computer for life



Voir aussi la version française.

Puzzle Master (if you hate mathemathics...)

Also on codewalr.us !

Offline Omegaxis213

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +5/-0
    • View Profile
Re: Friday, 13th...
« Reply #5 on: November 10, 2014, 07:46:36 pm »
The next Friday the 13 is on Feburary 13 which is my birthday suprisingly... :O

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Friday, 13th...
« Reply #6 on: November 11, 2014, 02:31:25 am »
Lol actually as simple as it might be, this program is a very fun idea. It might be handy sometimes for me when I want to figure out how many days left I have before some satanic entity turns me into a lobster. ;D

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Friday, 13th...
« Reply #7 on: November 11, 2014, 07:40:07 am »
Haha, sounds like a funny little fun idea ^.^
* Sorunome wonders if you take like leap years into account

Yes, they are taken into account. Both rules are respected :
[...]
What about those random day skippings in the past if you look at some occurances in the 19th/20th century :trollface:

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Friday, 13th...
« Reply #8 on: November 11, 2014, 04:12:42 pm »
Lol nice one.

Also does this use the clock functions on the 84+ ? There's a day of week function built in.

Offline ISSOtm

  • LV3 Member (Next: 100)
  • ***
  • Posts: 56
  • Rating: +4/-0
  • Programming or playing games I've programmed
    • View Profile
Re: Friday, 13th...
« Reply #9 on: November 12, 2014, 10:19:15 am »
Haha, sounds like a funny little fun idea ^.^
* Sorunome wonders if you take like leap years into account

Yes, they are taken into account. Both rules are respected :
[...]
What about those random day skippings in the past if you look at some occurances in the 19th/20th century :trollface:
No, it is only meant to be used in the 21th century, because calculators did not exist past that point (unless, it is what I think) :P

Lol nice one.

Also does this use the clock functions on the 84+ ? There's a day of week function built in.
No, because it uses assembly, I didn't use this function.
Maybe it is possible, but it currently is quite fast (about half a second to scan a whole month), and I don't think using this feature will speed up the program :/

But, you gave me an idea :
When the calculator implements these time functions, the day isn't asked to.
Will require two programs, though.

NOTICE : I am currently working on a mini-RPG engine for my PUZZLE MASTER program, so this program is in limbo, but shall be back soon !
Programmer ("always start, never finish")

Currently owning :
 - TI 84+SE (crashed by zStart :P )
 - Computer for life



Voir aussi la version française.

Puzzle Master (if you hate mathemathics...)

Also on codewalr.us !

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Friday, 13th...
« Reply #10 on: November 12, 2014, 02:27:55 pm »
Oh lol I didn't pay attention, I thought it was TI-BASIC. :P

Offline ISSOtm

  • LV3 Member (Next: 100)
  • ***
  • Posts: 56
  • Rating: +4/-0
  • Programming or playing games I've programmed
    • View Profile
Re: Friday, 13th...
« Reply #11 on: November 13, 2014, 02:02:20 pm »
Finally debugged and translated the program, yay !
Files downloadable down here \/

BONUS : If you are French, there is a french version available here.
Programmer ("always start, never finish")

Currently owning :
 - TI 84+SE (crashed by zStart :P )
 - Computer for life



Voir aussi la version française.

Puzzle Master (if you hate mathemathics...)

Also on codewalr.us !