w7sst / MorseRunner

Morse Runner Community Edition
Mozilla Public License 2.0
68 stars 12 forks source link

Menu Item: File/View Hi-Score Web Page #57

Open scotthibbs opened 2 years ago

scotthibbs commented 2 years ago

Description

The Menu item File/View Hi-Score Web Page when clicked goes to http://www.dxatlas.com/MorseRunner/MrScore.asp but returns

Server Error

404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Steps To Reproduce

  1. Go to File Menu
  2. Click on View Hi-Score Web Page
  3. Web page does not exist.

Expected behavior

It would be nice if we made a webpage to submit scores to. This can be another issue to be opened or another related project. For now maybe we should remove this menu item or have it point to our github discussions topic to discuss a possible place to point this item too.

Actual Behavior

unknown webpage error. #### Reproduces how often

100%

Version information

Additional context

yes ### Can you help?

Please let us know if you are available to help. (replace '[ ]' with '[x]' to affirm)

scotthibbs commented 2 years ago

I would love to help with creating a hi-score webpage again.

FanJun Kong, BH1SCW, had a webpage (see https://www.bh1scw.com/mr/score) where scores could be submitted. When asked why he had to close it down, he stated, "I want to reopen the page, but it will get so many random records which I have to delete one by one. The only way is you can send me the score string line by email, and I will upload it to db."

I'm not exactly sure what the random records are, but wondering if we need to expand our program to provide a better check for the webpage to discern if the score is legit. Say provide a unpublished algorithm (like the Luhn Number checksum) so the webpage knows it's from the program or not. Maybe we just need a sign in for the webpage and this added to the program to submit new scores. Dunno. I don't even know where to start to host it.

But this was a fantastic - brilliant even - function of this program and I would love to bring it back.

w7sst commented 2 years ago

Hi FanJun @bh1scw, Scott has started a separate issue for this here. We can move this Issue to the Discussions area while we work out a plan for how to handle this. Your ideas a welcome.

@scotthibbs

BH1SCW commented 2 years ago

sure, thanks

w7sst commented 2 years ago

I have started a development branch called 57-menu-item-fileview-hi-score-web-page. On this branch, I have added two temporary menu items under the File Menu: image

The two temporary menu items are:

When fixing this Issue, the above two menu items and associated functions should also be resolved at the same time.

Note - How to update this Issue's feature branch with the latest main branch

When you start working on this issue, the 57-menu-item-fileview-hi-score-web-page feature branch will be many commits behind the main branch. To merge main into this branch, do the following in a git shell:

git fetch origin
git checkout 57-menu-item-fileview-hi-score-web-page
git merge main

If you end up with merge conflicts that you are unable to resolve, type git merge --abort to abort the merge. Let me know and I will help with the merge.

Let me know if you need any help or suggestions. Mike.