Skip to content

liamvdv/doomsdaytutor

Repository files navigation

doomsdaytutor

So you have the modest goal of comfortably saying:

I know the weekday of birth of every person on earth, in our past and in the future, if just provided a date.

Learning the theory behind the doomsday algorithm isn't hard, but practicing it becomes cumbersome. It requires mental energy thinking of dates and checking them afterwards. Wouldn't it be nice to have a program for that, one that explains false answers?

Doomsdaytutor will present you with questions and explain the algorithm visually if the submitted answer is wrong. If you are unfamiliar with the algorithm, doomsdaytutor will also happily explain it to you.

Installation

All common operating systems (Windows, Mac and Linux) are supported. Open your terminal and follow along.

doomsdaytutor requires Python version>=3.6 so make sure you have it installed.

$ python -V   # Windows 
$ python3 -V  # Linux, Mac

Now install doomsdaytutor with pip.

$ pip install doomsdaytutor  # Windows
$ pip3 install doomsdaytutor # Linux, Mac

You will learn everything else in your terminal :D.

$ doomsdaytutor