Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highscores/scoring #95

Open
jbrokamp opened this issue Aug 24, 2023 · 3 comments
Open

highscores/scoring #95

jbrokamp opened this issue Aug 24, 2023 · 3 comments

Comments

@jbrokamp
Copy link

Some questions about scores:

1 .Some way to keep track of (personal) high scores?
Either stored client-side (web storage), or on itch.io / server?

  1. Another thing is, that I get way higher score on EASY (500k, 10 minutes) than on NORMAL (150k, 4 minutes), it could be nice to give higher rewards on harder difficulties, to incentivize the harder difficulties?

  2. Bonus points when you gracefully terminate a process? Gives some incentive to focus more on processes with lower id, also clears out RAM more efficiently that way. Maybe even visualize the progress of a process somehow.

@Wiguwbe
Copy link
Contributor

Wiguwbe commented Aug 24, 2023

Hey,

I don't know about 1),

Regarding 2), not knowing about the scoring method, either way I think there should always be a differentiation between the difficulties.
Even if the scoring was leveled, it probably is hard to compare between difficulty levels.

For 3), it looks like that, if the process is green and in CPU, for each tick, there is a 1% change of the process terminating.
I do agree that a process having a predetermined number of ticks to run could add another level to the game :)

@plbrault
Copy link
Owner

plbrault commented Sep 3, 2023

Not sure about visualising the progress of a process towards graceful termination, as an OS does not know when a process is going to end. Also, right now the player does get 1000 extra points whenever a process gracefully terminates.

@plbrault
Copy link
Owner

plbrault commented May 5, 2024

There seems to be a way with pygbag to use the browser's local storage: https://pygame-web.github.io/wiki/pygbag-code/#handling-persistent-data-across-sessions

This would probably be the way to go to implement local high scores in the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants