QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Cobalt on July 20, 2018, 05:19:55 pm

Title: Online score keeping
Post by: Cobalt on July 20, 2018, 05:19:55 pm
Nice work [with https://www.qb64.org/forum/index.php?topic=351.msg2346#msg234] as usual SMcNeill!

I wanted to ask you something, that game you threw together a couple years back where you had to match the numbers and they double everytime you did(if you remember it) the high score list was kept online right? how did you manage that?
Title: Re: Online score keeping
Post by: SMcNeill on July 20, 2018, 05:59:45 pm
Nice work as usual SMcNeill!

I wanted to ask you something, that game you threw together a couple years back where you had to match the numbers and they double everytime you did(if you remember it) the high score list was kept online right? how did you manage that?

I actually had 2 versions of my Double Up game and each used a different approach to storing the high scores.  One connected to my chatbot which I kept active in the QB64 chat channel, and used it to store high scores on my PC via the bott, while the other one connected to a TCP/IP scorekeeper program which I kept up and running 24/7 so folks could connect to it and get the current high scores for whatever game they were playing, and then update the list if they surpassed the current values. 

If [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] ever comes back, I think both versions are available there, but I don't think I have a local copy of them any more, so cross your fingers for Galleon bringing things back soon -- even if it's just in read-only mode. 

Title: Re: Online score keeping
Post by: FellippeHeitor on July 20, 2018, 07:44:12 pm
If you have a php-enabled online storage, you can use my mixed approach: https://github.com/FellippeHeitor/Snippets/blob/master/scoreboard.bas

That's comprised of two server-side php files and the code in the BAS file above which you must of course adapt to your needs.

If it's useful to you, it's yours.