Author Topic: Online score keeping  (Read 2927 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Online score keeping
« 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?
« Last Edit: July 20, 2018, 07:39:51 pm by odin »
Granted after becoming radioactive I only have a half-life!

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Online score keeping
« Reply #1 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. 

https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

FellippeHeitor

  • Guest
Re: Online score keeping
« Reply #2 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.