-4

I have a javascript snake game on my site. I have a leaderboard from a site called http://dreamlo.com. It uses and http get to record scores. How can I automate it in Javascript? Here is the game download: https://github.com/patorjk/JavaScript-Snake

  • 1
    Hey there, welcome to Stack Overflow. I'd recommend editing your question to include relevant code, what you've tried so far, and a more accurate description of what you hope to accomplish. (automate it to do what?) – kthornbloom Nov 04 '16 at 12:28

1 Answers1

0

Your question is somehow very unspecific. Could you provide more information?

From what I know, you might try to use setInterval() and fetch the leaderboard every x second or after new results has been sent to the leaderboard.

EscapeNetscape
  • 2,892
  • 1
  • 33
  • 32