sanojian / js13k_2022

MIT License
30 stars 11 forks source link

[Systems] Add game stats for replayability #1

Open andrefidalgosilva opened 2 years ago

andrefidalgosilva commented 2 years ago

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!

osabol commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

sanojian commented 1 year ago
  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 commented 1 year ago

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

osabol commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

sanojian commented 1 year ago

I asked if you have plugins or virus scanners.

osabol commented 1 year ago

Oh yes sorry, i do not have any of theese

osabol commented 1 year ago

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