The original game can be found at https://orteil.dashnet.org/cookieclicker/
This mirror for, errrr, like, educational purpose, either to download for your own offline education or to be played online from https://rcmsprogrammers.github.io/cookieclicker/ if you cannot "educate" yourself on the original URL.
If the original game updates, here is how you can update the mirror:
from the /img/ directory :
wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/grep -v PARENTDIR index.html | grep -o '/img/*[a-zA-ZA-z]*.*"' | sed 's/\/img\///' | sed 's/"//' >list.txtwget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/img/
Similarly, from the /snd/ directory :
wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/grep -v PARENTDIR index.html | grep -o '/snd/*[a-zA-ZA-z]*.*"' | sed 's/\/snd\///' | sed 's/"//' >list.txtwget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/snd/
From the root directory :
- Fetch updated
jsfiles :wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/ - Fetch the updated
index.htmlfile - Scan
index.htmlfor any new<script srcand alsomain.jsfor any new local javascript (egGame.last.minigameUrl)
If you happen to update, please make a pull request for others to benefit, thanks!
