Old JS projects

I've done some work in JavaScript and here are few of the programs I wrote for practice.

Date of Easter calculator
This computes the date of Easter (and related holidays) for a given year using Oudin's algorithm. It is accurate as far as I have been able to test it, but I do not guarantee the results.
Jewish Holidays calculator
This computes the date of Rosh Hashanah, Yom Kippur and Passover for a given calendar year. For a disclaimer, see the one on the Easter calculator above.
Lunch Assistant v2.5
Having trouble deciding on where to go for lunch? Let the Lunch Assistant make the decision for you!
Survivor game validator v2.5
This is a validation page for Survivor-type games where you wager a certain number of points on a team or individual. This page will validate each wager and the total number of points.
SeƱor Random v2.0
This provides random wagers for Survivor-type games where you wager a certain number of points on a team or individual.
Trader game
This is a Monte Carlo simulation of trading. The idea is to set some initial rules (size of the bank, limits for success and failure, rules for profitable and unprofitable trades, number of trades, etc) and then follow a specified number of traders to see what the results are. This can be quite slow if you choose more than 1000 traders, so please be patient.

Back to the JavaScript main page.