Coder Social home page Coder Social logo

Comments (7)

dhmay avatar dhmay commented on August 31, 2024

This would take a little work, but it's tractable... for the webserver, because I've already got a web interface to expand on there. Building a separate GUI would certainly be possible but would be more work.

I'm thinking I could build these options into the webserver (could also provide controls for color and anonymization there), and then also give the webserver a way to generate the PDF. That would make the webserver an easy one-stop shop for the not-commandline-inclined.

from jamstats.

bullseye555 avatar bullseye555 commented on August 31, 2024

I was thinking after I pushed this that having something in the WebServer UI would be more friendly

It could also mean at tournaments/multi-game events, all you'd need to do would be to setup an instance of JamStats on the server of the track(s) and have a guest WiFi network that people could connect to - connect to the JS server and select the game they want (be it the game currently in progress that they're Benching for, or a previous one if they want to do some reconnaissance on another team or review an earlier game they were in)

But the issue I thought about was for JSON files being generated as a PDF/TSV output... May that becomes a functional spec of JamStats

  • Outputting to WebSever can handle multi-game files regardless of input method (Opens to WebServer where it defaults to Current Game, or there's a way to choose the specific game they want)
  • Outputting to PDF/TSV can only handle single-game files (or only outputs CurrentGame for Multigame files)
    ?

Would something like that work?
A recommendation for the Game List would be similar to how CRG currently does it for the Scoreboard Operator
{Game [GameNum]: }{[Game Date]} Team 1 vs. Team 2 ([GameState]: ScoreT1 - ScoreT2)
Where the contents in {} are only populated if the [] inside is not null
image

Let me know if you want a full JSON file that has a range of data like this, and I can get you one (well... dummied up at least :P )

from jamstats.

dhmay avatar dhmay commented on August 31, 2024

I like that idea. I'll work on that.

It would really help to have a dummied-up file with multiple games! Ideally with enough data that I can tell which game I'm looking at based on my plots.

from jamstats.

bullseye555 avatar bullseye555 commented on August 31, 2024

I'll see what I can do for you after work tonight

And yes, I didn't say it in my first comment (but meant to), was that exporting to TSV/PDF from WebServer would be useful too (review previous games at a tournament, and export to PDF/TSV for posterity)

from jamstats.

bullseye555 avatar bullseye555 commented on August 31, 2024

Here ya go @dhmay

I loaded a few completed JSON files I had laying around from games last year, a few blank games that happened but have NOOOO idea where the JSONs went - and then started one of them for you so it was a "CurrentGame" in the second jam

There should be enough variation in the 12 games that you can tell What is What easy enough
image

scoreboard-0-secs-ago.json.txt

from jamstats.

dhmay avatar dhmay commented on August 31, 2024

Ha! Yeah, that should give me plenty to work with! :D Thanks!

This is a busy week for me... might be next weekend before I have a chance to bang on this.

from jamstats.

bullseye555 avatar bullseye555 commented on August 31, 2024

All good!

This is low priority, IMO - the work you've done so far is brilliant (especially fixing all the bugs over the weekend!)

from jamstats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.