Test your mastery of Conway's Doomsday rule https://fwdekker.com/tools/doomsday
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Florine W. Dekker e7a5f64f60
Upgrade to template v3
5 days ago
src/main Upgrade to template v3 5 days ago
.editorconfig Add initial semi-working code 3 years ago
.gitattributes Update template dependency 3 years ago
.gitignore Migrate to npm, use template package 3 years ago
Gruntfile.js Work around issue moment/luxon#1167 8 months ago
LICENSE Update repository URL 9 months ago
README.md Fix some config files 3 years ago
package-lock.json Keep footer wide 1 week ago
package.json Upgrade to template v3 5 days ago
tsconfig.json Naively rewrite to TypeScript 9 months ago

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