Test your mastery of Conway's Doomsday rule https://fwdekker.com/tools/doomsday
Go to file
Florine W. Dekker 9eda7eeaf6
Remove exception on invalid input
2022-12-14 11:25:10 +01:00
src/main Remove exception on invalid input 2022-12-14 11:25:10 +01:00
.editorconfig Add initial semi-working code 2020-01-25 15:27:31 +01:00
.gitattributes Update template dependency 2020-05-05 21:58:20 +02:00
.gitignore Migrate to npm, use template package 2020-05-03 23:50:55 +02:00
Gruntfile.js Work around issue moment/luxon#1167 2022-03-29 16:20:38 +02:00
LICENSE Update repository URL 2022-02-28 17:06:11 +01:00
README.md Fix some config files 2020-06-07 12:24:40 +02:00
package-lock.json Remove exception on invalid input 2022-12-14 11:25:10 +01:00
package.json Remove exception on invalid input 2022-12-14 11:25:10 +01:00
tsconfig.json Naively rewrite to TypeScript 2022-03-08 20:38:16 +01:00

README.md

Doomsday

Given a random date, can you determine the weekday of that date? Conway's Doomsday rule provides a simple set of steps to calculate the weekday of any date in the Gregorian calendar. This tool will help you practice the algorithm by giving you random dates to test on. Set this as your homepage to get yourself to practice this every day.

Development

Requirements

Setting up

# Install dependencies (only needed once)
$> npm ci

Building

# Build the tool in `dist/` for development
$> npm run dev
# Same as above, but automatically rerun it whenever files are changed
$> npm run dev:server
# Build the tool in `dist/` for deployment
$> npm run deploy