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

Improvement graph #902

Closed
4 tasks done
WillTRM opened this issue Mar 8, 2022 · 4 comments
Closed
4 tasks done

Improvement graph #902

WillTRM opened this issue Mar 8, 2022 · 4 comments
Labels
duplicate Duplicate of another issue. feat: channel Affected feature: TETRA CHANNEL standalone site improvement Something can be added or improved

Comments

@WillTRM
Copy link

WillTRM commented Mar 8, 2022

Checklist

  • I've checked both open and recently closed issues to ensure this feature is not already requested.
  • I am using the newest version of TETR.IO.
  • I am certain this is a feature request, not a bug.
  • I've thought this feature through properly.

Is your feature request related to a problem? Please describe.

One of my favorite features on jstris was the improvement graph because it showed my skill progression. However on this site, there simply isn't a graph

Describe the solution you'd like

I would like an option under player scores to toggle a graph that shows blitz score, 40L time, and TR over time.

Describe alternatives you've considered

There are no potential alternatives to a graph.

Additional context

image
It could look something like this

@WillTRM WillTRM added the improvement Something can be added or improved label Mar 8, 2022
@Chr1s28
Copy link

Chr1s28 commented Apr 3, 2022

I also would be interested in something like this. I haven't found anything in the API that could be used to get the data, and you can only see the top 10 best runs. What I did find was that everytime you finish for example a 40l run it gets sent to the server, so they probably have the data somewhere. I'm gonna search around to maybe find an endpoint to get that data.

@ZaptorZap
Copy link
Member

Well @Chr1s28, you might be interested in the news and the any_userrecent_ replay stream endpoints. Notably, these endpoints are not from the main game API, something direct usage of from a user account is strictly forbidden of. I surely hope you haven't been reverse engineering the main game API, especially when a very documented, public API for the TETRA CHANNEL site exists.

That said, the any_userrecent_ endpoint would need to be grabbed a lot to catch every run, so you certainly couldn't apply them to the userbase at large. Grabbing everyone's news as it occurs through the global news stream could be viable, but you couldn't catch the runs that weren't personal bests, in that case. In my opinion, the most viable usage would be through an opt-in process, similar to that of TETR.IO Discord user CCRed95#6710's pending "tetriostats.com" project, one that I believe plans to do this eventually. Of course, providing the functionality in a third party site wouldn't officially solve the problem here, otherwise #359 would've been closed a looooong time ago, but it would alleviate it.

@ZaptorZap ZaptorZap added the feat: channel Affected feature: TETRA CHANNEL standalone site label Apr 5, 2022
@Chr1s28
Copy link

Chr1s28 commented Apr 6, 2022

No no, I would never try to reverse engineer the game API of course :). I looked at the TCH API but must have missed those endpoints. Thanks for the help.

@ZaptorZap
Copy link
Member

Oh, whoops. This is a duplicate of #830.

@ZaptorZap ZaptorZap closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2022
@ZaptorZap ZaptorZap added the duplicate Duplicate of another issue. label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of another issue. feat: channel Affected feature: TETRA CHANNEL standalone site improvement Something can be added or improved
Projects
None yet
Development

No branches or pull requests

3 participants