You could increase the value of the score variable with each link that the reader clicks (essentially each page read). As Fabrikant said, the score variable already exists so you'll just need to change its value. FYI the current variable only shows the reader their score when they comment at the end of the game, so when playtesting, it may be best to put the variable on each page to check if it works.