Skip to content
New issue

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

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

Already on GitHub? # to your account

[Systems] Add game stats for replayability #1

Open
andrefidalgosilva opened this issue Aug 20, 2022 · 11 comments
Open

[Systems] Add game stats for replayability #1

andrefidalgosilva opened this issue Aug 20, 2022 · 11 comments
Labels
enhancement New feature or request

Comments

@andrefidalgosilva
Copy link
Collaborator

Hey guys! A couple of suggestions that I came up with after trying the game 🙂

Add visible stats

(stats can be for the current session, there should be no need for persistency, right?)

Current game time - Visible while playing
Best time - Always visible after first win (this alone allows the game to have a highscore/speedrunning component -- good for challenge and replayability)

Optionally:
Times played - Visible at game over or winning screen
Times won - Visible at game over or winning screen (these two stats can be used so the user knows their success ratio, but I don't find them to be as interesting as the best time)
"Developer's best time" so players have a time to beat (if this adds visual noise to the game, maybe have it as a hidden achievement that is only communicated once accomplished).

Let me know what you think!

@andrefidalgosilva andrefidalgosilva added the enhancement New feature or request label Aug 20, 2022
@osabol
Copy link

osabol commented Oct 16, 2022

Hello, can i help u and contribute to this? It is also part of my last year school course but i am already experienced with gameDev

@sanojian
Copy link
Owner

Hello Ondrej. I am not sure we will continue with this project now that the competition is over. But you can fork it and work on if it you would like.

@osabol
Copy link

osabol commented Dec 12, 2022

Hello, would you mind giving me a helping hand ? As i struggle to get it runnig

@sanojian
Copy link
Owner

  1. clone the repo
  2. cd js13k_2022
  3. npm install
  4. npm install -g grunt-cli
  5. grunt
  6. open browser to http://127.0.0.1:3116/

@sanojian
Copy link
Owner

For a production build (the tiny build), you can run build.sh or copy each command from it and run them individually

@osabol
Copy link

osabol commented Dec 14, 2022

Thank you for your response but even though the server is running, i cant seem to run the game... As i run grunt (server is running) and go to the link, web page says.

This page isn’t working
127.0.0.1 sent an invalid response.
ERR_INVALID_REDIRECT

Could you please help me as it is part of my school course? I only need to get it running and I will be able to complete this task . We can communicate on other platform if it happens that commenting on issue is inconvenient

@sanojian
Copy link
Owner

If you just need to get a project running it might be easier for you to pick a repo that is not so optimized. This one is optimized to the extreme to get it under the 13k limit. Sorry but I don't know why you are getting that error message. Do you have browser plugins or virus scanners running, perhaps?

@osabol
Copy link

osabol commented Dec 14, 2022

I already have to do this repo. I tried to run it with different browsers but without succes

@sanojian
Copy link
Owner

I asked if you have plugins or virus scanners.

@osabol
Copy link

osabol commented Dec 14, 2022

Oh yes sorry, i do not have any of theese

@osabol
Copy link

osabol commented Dec 20, 2022

Thank you for your help. I had to install Ubuntu because it didnt work on windows for some reason, and even after that i had some probles with NodeJS. Nonetheless, i managed to get it working and i completed the issue on my forked repo.

Again, thanks for everything

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants