js game assistance

I have come across a question which I can't find an answer for on the internet. I'm trying to get a script to run once daily. The idea behind this is that I am coding an HTML5 canvas in JavaScript, and I would only like the player to play the game once per day. Is this feasible in JavaScript, if so, then how should I go about tackling this problem?
 
Back
Top