I was at a volunteer coach's meeting for the upcoming basketball season, and a friend of mine mentioned that he had gotten a stat book this year to help him better keep track of what his players needed to work on. As the analytical nerd that I am, I thought this was a great idea!<p>I checked out a few statkeeping books, and either didn't find one that had all the stats I was interested in as someone who's developing young players (e.g missed vs. made layups, double-dribbles), or required a lot of special marks that increased the learning curve and distraction factor. I saw a similar deficiency with existing apps, and I also wanted one that allowed you to easily export the data for sharing/compiling and had an undo button for my inevitable mistakes. I tried it at some games this last weekend and my son and his friend enjoyed talking to each other about their numbers on the way home. I also look forward to helping my friend who got the statbook during the times he can't enter stats himself.<p>How to use:
It starts with a tutorial, but basically after you click "Players" and enter your players, you can increment stats by selecting a player from the top and then selecting a stat. You can view your stats anytime by clicking "Show Stats", and when finished you can hit "Export CSV" and then "Reset" to get ready for the next game<p>How it's built:
It's pretty much built with vanilla js, except for the tutorial lib (which I also made with vanilla js, btw: <a href="https://gitlab.com/andrewfulrich/tourit.js" rel="nofollow">https://gitlab.com/andrewfulrich/tourit.js</a>). I took and modified the central state store from here (<a href="https://gitlab.com/andrewfulrich/barleytea/-/blob/master/docs/sharedState.md" rel="nofollow">https://gitlab.com/andrewfulrich/barleytea/-/blob/master/doc...</a>). All the data is stored in window.localStorage, so no back-end. Cursor+Claude helped generate a lot of the original code but became a lot less useful when it came to refactoring and debugging. It was my first successful project with Cursor and it was definitely a good experience overall.